napcertrelyingparty.idl 1.2 KB

12345678910111213141516171819202122232425
  1. /**
  2. * This file is part of the mingw-w64 runtime package.
  3. * No warranty is given; refer to the file DISCLAIMER within this package.
  4. */
  5. import "naptypes.idl";
  6. import "unknwn.idl";
  7. cpp_quote("#include <winapifamily.h>")
  8. cpp_quote("")
  9. cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
  10. cpp_quote("")
  11. cpp_quote("#include <wincrypt.h>")
  12. cpp_quote("")
  13. cpp_quote("__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwZonePropId = CERT_FIRST_USER_PROP_ID;")
  14. cpp_quote("__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwProtectionLevelPropId = CERT_FIRST_USER_PROP_ID + 1;")
  15. cpp_quote("")
  16. cpp_quote("EXTERN_C const CLSID CLSID_NapCertRelyingParty;")
  17. [object, uuid (62c02ffc-4c77-4158-8754-782d5b4ee66e), pointer_default (unique)] interface INapCertRelyingParty : IUnknown {
  18. HRESULT SubscribeCertByGroup ([in] EnforcementEntityId id,[in] const BSTR subscriberName,[in, unique] const VARIANT *reserved,[out] WINBOOL *certExists);
  19. HRESULT UnSubscribeCertByGroup ([in] EnforcementEntityId id,[in, unique] const VARIANT *reserved);
  20. HRESULT GetSubscribedRelyingParties ([out] EnforcementEntityCount *count,[out, size_is (,*count)] EnforcementEntityId **relyingParties);
  21. };
  22. cpp_quote("#endif")