CPI_Stream.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- typedef void* CP_HINSTREAM;
- typedef void (*pfn_StreamUninitialise)(CP_HINSTREAM hStream);
- typedef BOOL (*pfn_StreamRead)(CP_HINSTREAM hStream, void* pDestBuffer, const unsigned int iBytesToRead, unsigned int* piBytesRead);
- typedef void (*pfn_StreamSeek)(CP_HINSTREAM hStream, const unsigned int iNewOffset);
- typedef UINT (*pfn_StreamTell)(CP_HINSTREAM hStream);
- typedef UINT (*pfn_StreamGetLength)(CP_HINSTREAM hStream);
- typedef BOOL (*pfn_StreamIsSeakable)(CP_HINSTREAM hStream);
- //
- typedef struct _CPs_InStream
- {
- pfn_StreamUninitialise Uninitialise;
- pfn_StreamRead Read;
- pfn_StreamSeek Seek;
- pfn_StreamTell Tell;
- pfn_StreamGetLength GetLength;
- pfn_StreamIsSeakable IsSeekable;
- void* m_pModuleCookie;
- } CPs_InStream;
- //
- CPs_InStream* CP_CreateInStream(const char* pcFlexiURL, HWND hWndOwner);