UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ncryptprotect.NCryptStreamClose |
NCryptStreamClose function (ncryptprotect.h) |
Closes a data protection stream object opened by using the NCryptStreamOpenToProtect or NCryptStreamOpenToUnprotect functions. |
|
security\ncryptstreamclose.htm |
security |
770640F2-04C7-4512-8004-41F4ECDC110E |
12/05/2018 |
NCryptStreamClose, NCryptStreamClose function [Security], ncryptprotect/NCryptStreamClose, security.ncryptstreamclose |
ncryptprotect.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
NCrypt.lib |
NCrypt.dll |
Windows |
19H1 |
|
|
|
|
|
|
The NCryptStreamClose function closes a data protection stream object opened by using the NCryptStreamOpenToProtect or NCryptStreamOpenToUnprotect functions.
Data stream handle returned by NCryptStreamOpenToProtect or NCryptStreamOpenToUnprotect.
Returns a status code that indicates the success or failure of the function. Possible return codes include, but are not limited to, the following.
Return code | Description |
---|---|
|
The function was successful. |
|
The handle specified by the hStream parameter is not valid. |