windows-nt/Source/XPSP1/NT/shell/themes/inc/ntleng.h

21 lines
1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//-------------------------------------------------------------------------
// 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_
//-------------------------------------------------------------------------