Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.0 KiB

  1. //-------------------------------------------------------------------------
  2. // NtlEng.h - support for Native Theme Language runtime graphics engine
  3. //-------------------------------------------------------------------------
  4. #ifndef _NTLENG_H_
  5. #define _NTLENG_H_
  6. //-------------------------------------------------------------------------
  7. #include "ntl.h"
  8. //-------------------------------------------------------------------------
  9. class INtlEngCallBack // Caller must implement
  10. {
  11. public:
  12. virtual HRESULT CreateImageBrush(HDC hdc, int iPartId, int IStateId,
  13. int iImageIndex, HBRUSH *phbr) = 0;
  14. };
  15. //---------------------------------------------------------------------------
  16. HRESULT RunNtl(HDC hdc, RECT &rcCaller, HBRUSH hbrBkDefault, DWORD dwOptions,
  17. int iPartId, int iStateId, BYTE *pbCode, int iCodeLen, INtlEngCallBack *pCallBack);
  18. //-------------------------------------------------------------------------
  19. #endif // _NTLENG_H_
  20. //-------------------------------------------------------------------------