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.
58 lines
1.4 KiB
58 lines
1.4 KiB
//+--------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// File: forward.h
|
|
//
|
|
// Contents:
|
|
//
|
|
// History:
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
#ifndef __TLS_FORWARD_H__
|
|
#define __TLS_FORWARD_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
DWORD
|
|
TLSForwardUpgradeRequest(
|
|
IN PTLSForwardUpgradeLicenseRequest pForward,
|
|
IN OUT DWORD *pdwSupportFlags,
|
|
IN PTLSDBLICENSEREQUEST pRequest,
|
|
OUT PDWORD pcbLicense,
|
|
OUT PBYTE* ppbLicense
|
|
);
|
|
|
|
DWORD
|
|
TLSForwardLicenseRequest(
|
|
IN PTLSForwardNewLicenseRequest pForward,
|
|
IN OUT DWORD *pdwSupportFlags,
|
|
IN PTLSDBLICENSEREQUEST pRequest,
|
|
IN BOOL bAcceptFewerLicenses,
|
|
IN OUT DWORD *pdwQuantity,
|
|
OUT PDWORD pcbLicense,
|
|
OUT PBYTE* ppbLicense
|
|
);
|
|
|
|
DWORD
|
|
ForwardUpgradeLicenseRequest(
|
|
IN LPTSTR pszServerSetupId,
|
|
IN OUT DWORD *pdwSupportFlags,
|
|
IN TLSLICENSEREQUEST* pRequest,
|
|
IN CHALLENGE_CONTEXT ChallengeContext,
|
|
IN DWORD cbChallengeResponse,
|
|
IN PBYTE pbChallengeResponse,
|
|
IN DWORD cbOldLicense,
|
|
IN PBYTE pbOldLicense,
|
|
OUT PDWORD pcbNewLicense,
|
|
OUT PBYTE* ppbNewLicense,
|
|
OUT PDWORD pdwErrCode
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|