Leaked source code of windows server 2003
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.

36 lines
1.5 KiB

  1. //---------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation 1991-2000
  3. //
  4. // File : ThemeLdr.h - defines private library routines for loading themes
  5. // (used by msgina.dll)
  6. // Version: 1.0
  7. //---------------------------------------------------------------------------
  8. #ifndef _THEMELDR_H_
  9. #define _THEMELDR_H_
  10. //---------------------------------------------------------------------------
  11. #include "uxthemep.h" // for various DWORD flags (not functions)
  12. //---------------------------------------------------------------------------
  13. // Define API decoration
  14. #if (! defined(_THEMELDR_))
  15. #define TLAPI EXTERN_C HRESULT STDAPICALLTYPE
  16. #define TLAPI_(type) EXTERN_C type STDAPICALLTYPE
  17. #else
  18. #define TLAPI STDAPI
  19. #define TLAPI_(type) STDAPI_(type)
  20. #endif
  21. //---------------------------------------------------------------------------
  22. //---- functions used by packthem (from themeldr.lib) ----
  23. BOOL ThemeLibStartUp(BOOL fThreadAttach);
  24. BOOL ThemeLibShutDown(BOOL fThreadDetach);
  25. HRESULT _GetThemeParseErrorInfo(OUT PARSE_ERROR_INFO *pInfo);
  26. HRESULT _ParseThemeIniFile(LPCWSTR pszFileName,
  27. DWORD dwParseFlags, OPTIONAL THEMEENUMPROC pfnCallBack, OPTIONAL LPARAM lparam);
  28. //---------------------------------------------------------------------------
  29. #endif // _THEMELDR_H_
  30. //---------------------------------------------------------------------------