www.pudn.com > MemSwfDemo.rar > MemSwf.h, change:2007-05-05,size:883b


////////////////////////////////////////////////////////////////////////////// 
// 
//  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& operator = (CMemSwf&); 
	CMemSwf(CMemSwf&); 
protected: 
	PVOID m_pMemSwf; 
};