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
1.7 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File: kp.h
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __KP_H__
  13. #define __KP_H__
  14. #include "server.h"
  15. #define WHISTLER_CAL L"SYSTEM\\CurrentControlSet\\Services\\TermService\\Parameters"
  16. #define KP_VERSION_VALUE L"Whistler"
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. BOOL
  21. ValidLicenseKeyPackParameter(
  22. IN LPLSKeyPack lpKeyPack,
  23. IN BOOL bAdd
  24. );
  25. DWORD
  26. TLSDBLicenseKeyPackAdd(
  27. IN PTLSDbWorkSpace pDbWkSpace,
  28. IN LPLSKeyPack lpLsKeyPack
  29. );
  30. DWORD
  31. TLSDBLicenseKeyPackSetStatus(
  32. IN PTLSDbWorkSpace pDbWkSpace,
  33. IN DWORD dwSetStatus,
  34. IN LPLSKeyPack lpLsKeyPack
  35. );
  36. DWORD
  37. TLSDBLicenseKeyPackUpdateLicenses(
  38. PTLSDbWorkSpace pDbWkSpace,
  39. BOOL bAdd,
  40. IN LPLSKeyPack lpLsKeyPack
  41. );
  42. LPENUMHANDLE
  43. TLSDBLicenseKeyPackEnumBegin(
  44. BOOL bMatchAll,
  45. DWORD dwSearchParm,
  46. LPLSKeyPack lpLsKeyPack
  47. );
  48. DWORD
  49. TLSDBLicenseKeyPackEnumNext(
  50. LPENUMHANDLE lpEnumHandle,
  51. LPLSKeyPack lpLsKeyPack,
  52. BOOL bShowAll
  53. );
  54. DWORD
  55. TLSDBLicenseKeyPackEnumEnd(
  56. LPENUMHANDLE lpEnumHandle
  57. );
  58. BOOL
  59. VerifyInternetLicensePack(
  60. License_KeyPack* pLicensePack
  61. );
  62. DWORD
  63. TLSDBRegisterLicenseKeyPack(
  64. IN PTLSDbWorkSpace pDbWkSpace,
  65. IN License_KeyPack* pLicenseKeyPack,
  66. OUT LPLSKeyPack lpInstalledKeyPack
  67. );
  68. DWORD
  69. TLSDBTelephoneRegisterLicenseKeyPack(
  70. IN PTLSDbWorkSpace pDbWkSpace,
  71. IN LPTSTR pszPID,
  72. IN PBYTE pbLKP,
  73. IN DWORD cbLKP,
  74. OUT LPLSKeyPack lpInstalledKeyPack
  75. );
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79. #endif