GetEncSChannel function (wincrypt.h)

[The GetEncSChannel function is no longer available for use as of Windows Server 2003 and Windows XP.]

Note  This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Instrsa5.dll.
 

Syntax

BOOL GetEncSChannel(
  [out] BYTE  **pData,
  [out] DWORD *dwDecSize
);

Parameters

[out] pData

A pointer to a pointer to bytes that receive the encrypted Schannel contents. When you have finished using the Schannel contents, free pData by calling the VirtualFree function.

[out] dwDecSize

Number of bytes allocated for pData.

Return value

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wincrypt.h
DLL Instrsa5.dll