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.

46 lines
2.3 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 are private uxtheme exports used exclusively by the theme service
  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 ServiceClearStockObjects(void* pvContext, HANDLE hSection);
  28. THEMEAPI InitUserTheme (BOOL fPolicyCheckOnly);
  29. THEMEAPI InitUserRegistry (void);
  30. THEMEAPI ReestablishServerConnection (void);
  31. THEMEAPI LoadTheme (void *pvContext,
  32. HANDLE hSectionIn, HANDLE *phSectionOut,
  33. LPCWSTR pszName, LPCWSTR pszColor, LPCWSTR pszSize,
  34. OPTIONAL DWORD dwFlags /*LTF_xxx*/ );
  35. #define LTF_TRANSFERSTOCKOBJOWNERSHIP 0x00000001
  36. #define LTF_GLOBALPRIVILEGEDCLIENT 0x00000002
  37. //---------------------------------------------------------------------------
  38. #endif // _UXTHEMESERVER_H_
  39. //---------------------------------------------------------------------------