Skip to main content
NCryptBufferDesc structure

The NCryptBufferDesc structure is used to receieve a collection of NCryptBuffer structures.

Syntax


typedef struct _NCryptBufferDesc {
  ULONG         ulVersion;
  ULONG         cBuffers;
  PNCryptBuffer pBuffers;
} NCryptBufferDesc, *PNCryptBufferDesc;

Members

ulVersion

The version number of the structure. Currently, this member must be the following value.

NCRYPTBUFFER_VERSION (0)
cBuffers

The number of elements in the pBuffers array. You can test the value received against NCRYPTBUFFER_EMPTY (0) to determine whether the array pointed to by the pBuffers parameter contains any members.

pBuffers

An array of NCryptBuffer structures that contain the buffer information. The cBuffers member contains the number of elements in this array.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ncrypt.h

See also

NCryptExportKey