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.

25 lines
607 B

  1. #include "precomp.h"
  2. #include <wmiauthz.h>
  3. #include <commain.h>
  4. #include <clsfac.h>
  5. #include "filtprox.h"
  6. #include "wmiauthz.h"
  7. class CEssProxyServer : public CComServer
  8. {
  9. protected:
  10. HRESULT Initialize()
  11. {
  12. AddClassInfo( CLSID_WbemFilterProxy,
  13. new CSimpleClassFactory<CFilterProxyManager>(GetLifeControl()),
  14. __TEXT("Event filter marshaling proxy"), TRUE);
  15. AddClassInfo( CLSID_WbemTokenCache,
  16. new CSimpleClassFactory<CWmiAuthz>(GetLifeControl()),
  17. __TEXT("Wbem Token Cache"), TRUE );
  18. return S_OK;
  19. }
  20. } g_Server;