Files
Leviathan/Library/External/XTToolkitPro/include/Common/XTPResource.h
T
2026-06-01 12:46:52 +02:00

29 lines
500 B
C++

class CXTPResource
{
// Construction / Destruction
public:
CXTPResource();
virtual ~CXTPResource();
// Methods
public:
BOOL LoadResource(HMODULE hInstance, LPCTSTR pszName, LPCTSTR pszType);
// Members
public:
/** Handle to the resource info block */
HRSRC m_hResource;
/** Handle to the resource data */
HGLOBAL m_hResourceData;
/** Pointer to the first byte of the resource data */
LPVOID m_pvResourceData;
/** Size of the resource in bytes */
DWORD m_dwSize;
};