cnetoutpin.h
来自「VC vod源码 放出来供大家交流学习」· C头文件 代码 · 共 29 行
H
29 行
//
// CNetOutPin.h
//
#ifndef __H_CNetOutPin__
#define __H_CNetOutPin__
#include <streams.h>
class CFilterNetReceiver;
class CNetOutPin : public CBaseOutputPin
{
// friend class CFilterNetReceiver;
private:
CFilterNetReceiver * mFilter;
CMediaType mPreferredMt;
public:
CNetOutPin(CFilterNetReceiver *inFilter, HRESULT *phr, LPCWSTR pName);
~CNetOutPin();
void SetupMediaType(long inType, char * inFormat, long inLength);
// check if the pin can support this specific proposed type and format
virtual HRESULT CheckMediaType(const CMediaType *);
virtual HRESULT DecideBufferSize(IMemAllocator * pAlloc, ALLOCATOR_PROPERTIES * pprop);
// returns the preferred formats for a pin
HRESULT GetMediaType(int iPosition,CMediaType *pMediaType);
};
#endif // __H_CNetOutPin__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?