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.

49 lines
2.0 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File:
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. [implicit_handle(handle_t HydraLicenseService_IfHandle)]
  13. interface HydraLicenseService
  14. {
  15. // The [comm_status] and [fault_status] attributes cause the stubs
  16. // to return any errors in an error_status_t parameter or return
  17. // value. Otherwise, any communication errors will get raised as
  18. // an exception. This has no performance affect, but it keeps the
  19. // client code cleaner.
  20. [comm_status, fault_status] LSConnect();
  21. [comm_status, fault_status] LSGetInfo();
  22. [comm_status, fault_status] LSDisconnect();
  23. [comm_status, fault_status] LSGetServerName();
  24. [comm_status, fault_status] LSGetServerScope();
  25. [comm_status, fault_status] LSIssuePlatformChallenge();
  26. [comm_status, fault_status] LSIssueNewLicense();
  27. [comm_status, fault_status] LSUpgradeLicense();
  28. [comm_status, fault_status] LSAllocateConcurrentLicense();
  29. [comm_status, fault_status] LSGetLastError();
  30. [comm_status, fault_status] LSKeyPackEnumBegin();
  31. [comm_status, fault_status] LSKeyPackEnumNext();
  32. [comm_status, fault_status] LSKeyPackEnumEnd();
  33. [comm_status, fault_status] LSKeyPackAdd();
  34. [comm_status, fault_status] LSKeyPackSetStatus();
  35. [comm_status, fault_status] LSLicenseEnumBegin();
  36. [comm_status, fault_status] LSLicenseEnumNext();
  37. [comm_status, fault_status] LSLicenseEnumEnd();
  38. [comm_status, fault_status] LSLicenseSetStatus();
  39. [comm_status, fault_status] LSLicenseGetCert();
  40. [comm_status, fault_status] LSGetAvailableLicenses();
  41. [comm_status, fault_status] LSGetServerCertificate();
  42. [comm_status, fault_status] LSRegisterLicenseKeyPack();
  43. [comm_status, fault_status] LSSendServerCertificate();
  44. [comm_status, fault_status] LSInstallCertificate();
  45. }
  46. typedef [allocate(all_nodes)] PBYTE;