NCRYPT_ALLOC_PARA structure
The NCRYPT_ALLOC_PARA structure enables you to specify custom functions that can be used to allocate and free data. This structure is used in the following functions:
Syntax
typedef struct _NCRYPT_ALLOC_PARA { DWORD cbSize; PFN_NCRYPT_ALLOC pfnAlloc; PFN_NCRYPT_FREE pfnFree; } NCRYPT_ALLOC_PARA, *PNCRYPT_ALLOC_PARA;
Members
- cbSize
-
The size, in bytes, of this structure.
- pfnAlloc
-
Address of a custom function that can allocate memory.
- pfnFree
-
Address of a function that can free memory allocated by the function specified by the pfnAlloc member.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
See also