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.

44 lines
1.7 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: ThemeManagerAPIServer.h
  3. //
  4. // Copyright (c) 2000, Microsoft Corporation
  5. //
  6. // This file contains several classes that implemention virtual functions
  7. // for complete LPC functionality.
  8. //
  9. // History: 2000-10-10 vtan created
  10. // --------------------------------------------------------------------------
  11. #ifndef _ThemeManagerAPIServer_
  12. #define _ThemeManagerAPIServer_
  13. #include "ServerAPI.h"
  14. // --------------------------------------------------------------------------
  15. // CThemeManagerAPIServer
  16. //
  17. // Purpose: This class implements the interface that the
  18. // CAPIConnectionThread uses to create create the LPC port,
  19. // accept or reject connections to the LPC port and create the
  20. // LPC request handling thread.
  21. //
  22. // History: 2000-10-10 vtan created
  23. // --------------------------------------------------------------------------
  24. class CThemeManagerAPIServer : public CServerAPI
  25. {
  26. public:
  27. CThemeManagerAPIServer (void);
  28. virtual ~CThemeManagerAPIServer (void);
  29. NTSTATUS ConnectToServer (HANDLE *phPort);
  30. protected:
  31. virtual const WCHAR* GetPortName (void);
  32. virtual const TCHAR* GetServiceName (void);
  33. virtual bool ConnectionAccepted (const CPortMessage& portMessage);
  34. virtual CAPIDispatcher* CreateDispatcher (const CPortMessage& portMessage);
  35. virtual NTSTATUS Connect (HANDLE* phPort);
  36. };
  37. #endif /* _ThemeManagerAPIServer_ */