mirror of https://github.com/tongzx/nt5src
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.
95 lines
1.7 KiB
95 lines
1.7 KiB
//+--------------------------------------------------------------------------
|
|
//
|
|
// 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
|