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.

38 lines
909 B

  1. // hsmconpt.h : Declaration of the CHsmConnPoint
  2. #ifndef __HSMCONNPOINT_H_
  3. #define __HSMCONNPOINT_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CHsmConnPoint
  7. class ATL_NO_VTABLE CHsmConnPoint :
  8. public CComObjectRoot, // this may change in the future to CWsbObject
  9. public CComCoClass<CHsmConnPoint, &CLSID_HsmConnPoint>,
  10. public IHsmConnPoint
  11. {
  12. public:
  13. CHsmConnPoint() {}
  14. DECLARE_REGISTRY_RESOURCEID(IDR_HSMCONNPOINT)
  15. DECLARE_PROTECT_FINAL_CONSTRUCT()
  16. BEGIN_COM_MAP(CHsmConnPoint)
  17. COM_INTERFACE_ENTRY(IHsmConnPoint)
  18. END_COM_MAP()
  19. // CComObjectRoot
  20. public:
  21. STDMETHOD(FinalConstruct)(void);
  22. STDMETHOD(FinalRelease)(void);
  23. // IHsmConnPoint
  24. public:
  25. STDMETHOD(GetFsaServer)(/*[out]*/ IFsaServer **ppFsaServer);
  26. STDMETHOD(GetEngineServer)(/*[out]*/ IHsmServer **ppHsmServer);
  27. };
  28. #endif //__HSMCONNPOINT_H_