CPI_Stream.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:1k
- 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);