BCryptBuffer Structure

The BCryptBuffer structure is used to represent a generic CNG buffer.

Syntax

typedef struct _BCryptBuffer {
    ULONG cbBuffer;
    ULONG BufferType;
    PVOID pvBuffer;
} BCryptBuffer, *PBCryptBuffer;  

Members

cbBuffer
The size, in bytes, of the buffer.

BufferType
A value that specifies the type of buffer represented by this structure. This can be one of the following values.

pvBuffer
A 32-bit value defined by the BufferType member.

Requirements

Header: Declared in bcrypt.h.

Library: Use bcrypt.lib.