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.

45 lines
1.6 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: ThemeManagerService.h
  3. //
  4. // Copyright (c) 2000, Microsoft Corporation
  5. //
  6. // This file contains a class that implements the theme server service
  7. // specifics.
  8. //
  9. // History: 2000-11-29 vtan created
  10. // --------------------------------------------------------------------------
  11. #ifndef _ThemeManagerService_
  12. #define _ThemeManagerService_
  13. #include "Service.h"
  14. // --------------------------------------------------------------------------
  15. // CThemeManagerService
  16. //
  17. // Purpose: Implements theme manager server specific functionality to the
  18. // CService class.
  19. //
  20. // History: 2000-11-29 vtan created
  21. // 2002-03-11 scotthan update override of SignalStartStop().
  22. // --------------------------------------------------------------------------
  23. class CThemeManagerService : public CService
  24. {
  25. private:
  26. CThemeManagerService (void);
  27. public:
  28. CThemeManagerService (CAPIConnection *pAPIConnection, CServerAPI *pServerAPI);
  29. virtual ~CThemeManagerService (void);
  30. protected:
  31. virtual NTSTATUS SignalStartStop (BOOL fStart);
  32. public:
  33. static const TCHAR* GetName (void);
  34. static HANDLE OpenStartEvent (DWORD dwSessionID, DWORD dwDesiredAccess);
  35. static DWORD WINAPI SignalSessionEvents (void *pParameter);
  36. private:
  37. static const TCHAR s_szName[];
  38. };
  39. #endif /* _ThemeManagerService_ */