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.

69 lines
1.4 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File: permlic.h
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __PERMLIC_H__
  13. #define __PERMLIC_H__
  14. #include "server.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. DWORD
  19. TLSDBIssuePermanentLicense(
  20. IN PTLSDbWorkSpace pDbWkSpace,
  21. IN PTLSDBLICENSEREQUEST pRequest,
  22. IN BOOL bLatestVersion,
  23. IN BOOL bAcceptFewerLicenses,
  24. IN OUT DWORD *pdwQuantity,
  25. IN OUT PTLSDBLICENSEDPRODUCT pLicensedProduct,
  26. IN DWORD dwSupportFlags
  27. );
  28. DWORD
  29. TLSDBReissuePermanentLicense(
  30. IN PTLSDbWorkSpace pDbWkSpace,
  31. IN PLICENSEDPRODUCT pExpiredLicense,
  32. IN OUT PTLSDBLICENSEDPRODUCT pReissuedLicense
  33. );
  34. DWORD
  35. TLSDBReissueFoundPermanentLicense(
  36. IN PTLSDbWorkSpace pDbWkSpace,
  37. IN PTLSDBLICENSEDPRODUCT pExpiredLicense,
  38. IN OUT PTLSDBLICENSEDPRODUCT pReissuedLicense
  39. );
  40. DWORD
  41. TLSDBGetPermanentLicense(
  42. IN PTLSDbWorkSpace pDbWkSpace,
  43. IN PTLSDBLICENSEREQUEST pRequest,
  44. IN BOOL bAcceptFewerLicenses,
  45. IN OUT DWORD *pdwQuantity,
  46. IN BOOL bLatestVersion,
  47. IN OUT PTLSLICENSEPACK pLicensePack
  48. );
  49. void
  50. TLSResetLogLowLicenseWarning(
  51. IN LPTSTR pszCompanyName,
  52. IN LPTSTR pszProductId,
  53. IN DWORD dwProductVersion,
  54. IN BOOL bLogged
  55. );
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59. #endif