windows-nt/Source/XPSP1/NT/shell/themes/inc/ntleng.h
2020-09-26 16:20:57 +08:00

21 lines
1 KiB
C++

//-------------------------------------------------------------------------
// NtlEng.h - support for Native Theme Language runtime graphics engine
//-------------------------------------------------------------------------
#ifndef _NTLENG_H_
#define _NTLENG_H_
//-------------------------------------------------------------------------
#include "ntl.h"
//-------------------------------------------------------------------------
class INtlEngCallBack // Caller must implement
{
public:
virtual HRESULT CreateImageBrush(HDC hdc, int iPartId, int IStateId,
int iImageIndex, HBRUSH *phbr) = 0;
};
//---------------------------------------------------------------------------
HRESULT RunNtl(HDC hdc, RECT &rcCaller, HBRUSH hbrBkDefault, DWORD dwOptions,
int iPartId, int iStateId, BYTE *pbCode, int iCodeLen, INtlEngCallBack *pCallBack);
//-------------------------------------------------------------------------
#endif // _NTLENG_H_
//-------------------------------------------------------------------------