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.

38 lines
1.9 KiB

  1. //---------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //
  4. // File : UxThemeServer.h
  5. // Version: 1.0
  6. //---------------------------------------------------------------------------
  7. #ifndef _UXTHEMESERVER_H_
  8. #define _UXTHEMESERVER_H_
  9. //---------------------------------------------------------------------------
  10. #include <uxtheme.h>
  11. //---------------------------------------------------------------------------
  12. // These functions are used by the theme server
  13. //---------------------------------------------------------------------------
  14. THEMEAPI_(void *) SessionAllocate (HANDLE hProcess, DWORD dwServerChangeNumber, void *pfnRegister,
  15. void *pfnUnregister, void *pfnClearStockObjects, DWORD dwStackSizeReserve, DWORD dwStackSizeCommit);
  16. THEMEAPI_(void) SessionFree (void *pvContext);
  17. THEMEAPI_(int) GetCurrentChangeNumber (void *pvContext);
  18. THEMEAPI_(int) GetNewChangeNumber (void *pvContext);
  19. THEMEAPI_(void) ThemeHooksInstall (void *pvContext);
  20. THEMEAPI_(void) ThemeHooksRemove (void *pvContext);
  21. THEMEAPI_(void) MarkSection (HANDLE hSection, DWORD dwAdd, DWORD dwRemove);
  22. THEMEAPI_(BOOL) AreThemeHooksActive (void *pvContext);
  23. THEMEAPI ThemeHooksOn (void *pvContext);
  24. THEMEAPI ThemeHooksOff (void *pvContext);
  25. THEMEAPI SetGlobalTheme (void *pvContext, HANDLE hSection);
  26. THEMEAPI GetGlobalTheme (void *pvContext, HANDLE *phSection);
  27. THEMEAPI LoadTheme (void *pvContext, HANDLE hSection, HANDLE *phSection, LPCWSTR pszName, LPCWSTR pszColor, LPCWSTR pszSize);
  28. THEMEAPI InitUserTheme (BOOL fPolicyCheckOnly);
  29. THEMEAPI InitUserRegistry (void);
  30. THEMEAPI ReestablishServerConnection (void);
  31. //---------------------------------------------------------------------------
  32. #endif // _UXTHEMESERVER_H_
  33. //---------------------------------------------------------------------------