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.

70 lines
2.1 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: BadApplicationService.cpp
  3. //
  4. // Copyright (c) 2000, Microsoft Corporation
  5. //
  6. // This file contains a class that implements the bad application manager
  7. // service specifics.
  8. //
  9. // History: 2000-12-04 vtan created
  10. // --------------------------------------------------------------------------
  11. #include "StandardHeader.h"
  12. #include "BadApplicationService.h"
  13. const TCHAR CBadApplicationService::s_szName[] = TEXT("FastUserSwitchingCompatibility");
  14. // --------------------------------------------------------------------------
  15. // CBadApplicationService::CBadApplicationService
  16. //
  17. // Arguments: pAPIConnection = CAPIConnection passed to base class.
  18. // pServerAPI = CServerAPI passed to base class.
  19. //
  20. // Returns: <none>
  21. //
  22. // Purpose: Constructor for CBadApplicationService.
  23. //
  24. // History: 2000-12-04 vtan created
  25. // --------------------------------------------------------------------------
  26. CBadApplicationService::CBadApplicationService (CAPIConnection *pAPIConnection, CServerAPI *pServerAPI) :
  27. CService(pAPIConnection, pServerAPI, GetName())
  28. {
  29. }
  30. // --------------------------------------------------------------------------
  31. // CBadApplicationService::~CBadApplicationService
  32. //
  33. // Arguments: <none>
  34. //
  35. // Returns: <none>
  36. //
  37. // Purpose: Destructor for CBadApplicationService.
  38. //
  39. // History: 2000-12-04 vtan created
  40. // --------------------------------------------------------------------------
  41. CBadApplicationService::~CBadApplicationService (void)
  42. {
  43. }
  44. // --------------------------------------------------------------------------
  45. // CBadApplicationService::GetName
  46. //
  47. // Arguments: <none>
  48. //
  49. // Returns: const TCHAR*
  50. //
  51. // Purpose: Returns the name of the service (ThemeService).
  52. //
  53. // History: 2000-12-04 vtan created
  54. // --------------------------------------------------------------------------
  55. const TCHAR* CBadApplicationService::GetName (void)
  56. {
  57. return(s_szName);
  58. }