windows-nt/Source/XPSP1/NT/termsrv/license/tlserver/server/kp.h

95 lines
1.7 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+--------------------------------------------------------------------------
//
// Copyright (c) 1997-1999 Microsoft Corporation
//
// File: kp.h
//
// Contents:
//
// History:
//
//---------------------------------------------------------------------------
#ifndef __KP_H__
#define __KP_H__
#include "server.h"
#define WHISTLER_CAL L"SYSTEM\\CurrentControlSet\\Services\\TermService\\Parameters"
#define KP_VERSION_VALUE L"Whistler"
#ifdef __cplusplus
extern "C" {
#endif
BOOL
ValidLicenseKeyPackParameter(
IN LPLSKeyPack lpKeyPack,
IN BOOL bAdd
);
DWORD
TLSDBLicenseKeyPackAdd(
IN PTLSDbWorkSpace pDbWkSpace,
IN LPLSKeyPack lpLsKeyPack
);
DWORD
TLSDBLicenseKeyPackSetStatus(
IN PTLSDbWorkSpace pDbWkSpace,
IN DWORD dwSetStatus,
IN LPLSKeyPack lpLsKeyPack
);
DWORD
TLSDBLicenseKeyPackUpdateLicenses(
PTLSDbWorkSpace pDbWkSpace,
BOOL bAdd,
IN LPLSKeyPack lpLsKeyPack
);
LPENUMHANDLE
TLSDBLicenseKeyPackEnumBegin(
BOOL bMatchAll,
DWORD dwSearchParm,
LPLSKeyPack lpLsKeyPack
);
DWORD
TLSDBLicenseKeyPackEnumNext(
LPENUMHANDLE lpEnumHandle,
LPLSKeyPack lpLsKeyPack,
BOOL bShowAll
);
DWORD
TLSDBLicenseKeyPackEnumEnd(
LPENUMHANDLE lpEnumHandle
);
BOOL
VerifyInternetLicensePack(
License_KeyPack* pLicensePack
);
DWORD
TLSDBRegisterLicenseKeyPack(
IN PTLSDbWorkSpace pDbWkSpace,
IN License_KeyPack* pLicenseKeyPack,
OUT LPLSKeyPack lpInstalledKeyPack
);
DWORD
TLSDBTelephoneRegisterLicenseKeyPack(
IN PTLSDbWorkSpace pDbWkSpace,
IN LPTSTR pszPID,
IN PBYTE pbLKP,
IN DWORD cbLKP,
OUT LPLSKeyPack lpInstalledKeyPack
);
#ifdef __cplusplus
}
#endif
#endif