www.pudn.com > MemSwfDemo.rar > MemSwf.h


//////////////////////////////////////////////////////////////////////////////
//
// Presence of this static library (MemFlash.lib) marks memory as file.
//
// Wrote by SunLine 2007/20/04.
//
// Play the flash file(*.swf) from the memory.
//
// 你可以自由地使用这个库,若商业用途请通知我lisunlin0@yahoo.com.cn。
#pragma once
class CMemSwf
{
public:
virtual ~CMemSwf(void);
public:
// static BOOL Release();//已经自动实现了
// static BOOL Init();//已经自动实现了
CMemSwf(LPCWSTR lpFileName, LPBYTE lpFileMem, unsigned int nFileSize , DWORD dwFindAttributes = FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_READONLY);
CMemSwf(LPCSTR lpFileName, LPBYTE lpFileMem, unsigned int nFileSize , DWORD dwFindAttributes = FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_READONLY);
private:
CMemSwf&amt; operator = (CMemSwf&amt;);
CMemSwf(CMemSwf&amt;);
protected:
PVOID m_pMemSwf;
};