Leaked source code of windows server 2003
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.

92 lines
1.8 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\\WhistlerCAL"
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. BOOL
  20. ValidLicenseKeyPackParameter(
  21. IN LPLSKeyPack lpKeyPack,
  22. IN BOOL bAdd
  23. );
  24. DWORD
  25. TLSDBLicenseKeyPackAdd(
  26. IN PTLSDbWorkSpace pDbWkSpace,
  27. IN LPLSKeyPack lpLsKeyPack
  28. );
  29. DWORD
  30. TLSDBLicenseKeyPackSetStatus(
  31. IN PTLSDbWorkSpace pDbWkSpace,
  32. IN DWORD dwSetStatus,
  33. IN LPLSKeyPack lpLsKeyPack
  34. );
  35. DWORD
  36. TLSDBLicenseKeyPackUpdateLicenses(
  37. PTLSDbWorkSpace pDbWkSpace,
  38. BOOL bAdd,
  39. IN LPLSKeyPack lpLsKeyPack
  40. );
  41. LPENUMHANDLE
  42. TLSDBLicenseKeyPackEnumBegin(
  43. BOOL bMatchAll,
  44. DWORD dwSearchParm,
  45. LPLSKeyPack lpLsKeyPack
  46. );
  47. DWORD
  48. TLSDBLicenseKeyPackEnumNext(
  49. LPENUMHANDLE lpEnumHandle,
  50. LPLSKeyPack lpLsKeyPack,
  51. BOOL bShowAll
  52. );
  53. DWORD
  54. TLSDBLicenseKeyPackEnumEnd(
  55. LPENUMHANDLE lpEnumHandle
  56. );
  57. BOOL
  58. VerifyInternetLicensePack(
  59. License_KeyPack* pLicensePack
  60. );
  61. DWORD
  62. TLSDBRegisterLicenseKeyPack(
  63. IN PTLSDbWorkSpace pDbWkSpace,
  64. IN License_KeyPack* pLicenseKeyPack,
  65. OUT LPLSKeyPack lpInstalledKeyPack
  66. );
  67. DWORD
  68. TLSDBTelephoneRegisterLicenseKeyPack(
  69. IN PTLSDbWorkSpace pDbWkSpace,
  70. IN LPTSTR pszPID,
  71. IN PBYTE pbLKP,
  72. IN DWORD cbLKP,
  73. OUT LPLSKeyPack lpInstalledKeyPack
  74. );
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78. #endif