1 #ifndef MPLAYER_INPUTPIN_H
2 #define MPLAYER_INPUTPIN_H
4 #include "interfaces.h"
6 typedef struct CBaseFilter2 CBaseFilter2
;
14 IPin
* ( *GetPin
)(CBaseFilter2
* This
);
17 CBaseFilter2
* CBaseFilter2Create(void);
20 typedef struct CBaseFilter CBaseFilter
;
24 DECLARE_IUNKNOWN(); // has to match CBaseFilter2 - INHERITANCE!!
29 IPin
* ( *GetPin
)(CBaseFilter
* This
);
30 IPin
* ( *GetUnusedPin
)(CBaseFilter
* This
);
33 CBaseFilter
* CBaseFilterCreate(const AM_MEDIA_TYPE
* vhdr
, CBaseFilter2
* parent
);
45 CInputPin
* CInputPinCreate(CBaseFilter
* parent
, const AM_MEDIA_TYPE
* vhdr
);
57 CRemotePin
* CRemotePinCreate(CBaseFilter
* pt
, IPin
* rpin
);
68 CRemotePin2
* CRemotePin2Create(CBaseFilter2
* parent
);
70 #endif /* MPLAYER_INPUTPIN_H */