NCryptFreeBuffer function (ncrypt.h)
The NCryptFreeBuffer function releases a block of memory allocated by a CNG key storage provider.
SECURITY_STATUS NCryptFreeBuffer( [in] PVOID pvInput );
The address of the memory to be released.
Returns a status code that indicates the success or failure of the function.
Possible return codes include, but are not limited to, the following.
||The function was successful.|
||The pvInput parameter is not valid.|
A service must not call this function from its StartService Function. If a service calls this function from its StartService function, a deadlock can occur, and the service may stop responding.
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|