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.

94 lines
2.3 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File: licreq.h
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __LICREQ_H__
  13. #define __LICREQ_H__
  14. #include "server.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. DWORD
  19. TLSDBUpgradeClientLicense(
  20. IN PTLSDbWorkSpace pDbWkSpace,
  21. IN PTLSDBLICENSEREQUEST pRequest,
  22. IN PTLSDBLICENSEDPRODUCT pLicensedProduct,
  23. IN BOOL bAcceptFewerLicenses,
  24. IN OUT DWORD *pdwQuantity,
  25. IN OUT PTLSDBLICENSEDPRODUCT pUpgradedProduct,
  26. IN DWORD dwSupportFlags
  27. );
  28. DWORD
  29. TLSNewLicenseRequest(
  30. IN BOOL bForwardRequest,
  31. IN OUT DWORD *pdwSupportFlags,
  32. IN PTLSForwardNewLicenseRequest pForward,
  33. IN PTLSDBLICENSEREQUEST lpLsLicenseRequest,
  34. IN BOOL bAcceptTemporaryLicense,
  35. IN BOOL bRequireTemporaryLicense,
  36. IN BOOL bFindLostLicense,
  37. IN BOOL bAcceptFewerLicenses,
  38. IN OUT DWORD *pdwQuantity,
  39. OUT PDWORD pcbEncodedCert,
  40. OUT PBYTE* ppbEncodedCert
  41. );
  42. DWORD
  43. TLSUpgradeLicenseRequest(
  44. IN BOOL bForwardRequest,
  45. IN PTLSForwardUpgradeLicenseRequest pForward,
  46. IN OUT DWORD *pdwSupportFlags,
  47. IN PTLSDBLICENSEREQUEST pRequest,
  48. IN PBYTE pbOldLicense,
  49. IN DWORD cbOldLicense,
  50. IN DWORD dwNumLicProduct,
  51. IN PLICENSEDPRODUCT pLicProduct,
  52. IN BOOL bRequireTemporaryLicense,
  53. IN OUT PDWORD pcbEncodedCert,
  54. OUT PBYTE* ppbEncodedCert
  55. );
  56. DWORD
  57. TLSReturnClientLicensedProduct(
  58. IN PTLSDbWorkSpace pDbWkSpace,
  59. IN PMHANDLE hClient,
  60. IN CTLSPolicy* pPolicy,
  61. IN PTLSLicenseToBeReturn pClientLicense
  62. );
  63. DWORD
  64. TLSCheckLicenseMarkRequest(
  65. IN BOOL bForwardRequest,
  66. IN PLICENSEDPRODUCT pLicProduct,
  67. IN DWORD cbLicense,
  68. IN PBYTE pLicense,
  69. OUT PUCHAR pucMarkFlags
  70. );
  71. DWORD
  72. TLSMarkLicenseRequest(
  73. IN BOOL bForwardRequest,
  74. IN UCHAR ucMarkFlags,
  75. IN PLICENSEDPRODUCT pLicProduct,
  76. IN DWORD cbLicense,
  77. IN PBYTE pLicense
  78. );
  79. #ifdef __cplusplus
  80. }
  81. #endif
  82. #endif