The BCryptBuffer structure is used to represent a generic CNG buffer.
typedef struct _BCryptBuffer {
ULONG cbBuffer;
ULONG BufferType;
PVOID pvBuffer;
} BCryptBuffer, *PBCryptBuffer;
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.
Header: Declared in bcrypt.h.
Library: Use bcrypt.lib.