CryptUnprotectData (CRYPT32.@)
BOOL CryptUnprotectData ( DATA_BLOB* pDataIn, LPWSTR* ppszDataDescr, DATA_BLOB* pOptionalEntropy, PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut )
Generate Plain data and Description from given Cipher and Entropy data.
pDataIn | [In] | Cipher data to be decoded. |
ppszDataDescr | [Out] | Optional Unicode string describing the Plain data. |
pOptionalEntropy | [In] | Optional entropy data to adjust cipher, can be NULL. |
pvReserved | [In] | Reserved, must be NULL. |
pPromptStruct | [In] | Structure describing if/how to prompt during decoding. |
dwFlags | [In] | Flags describing options to the decoding. |
pDataOut | [Out] | Resulting Plain data, from calls to CryptProtectData. |
TRUE If a Plain was generated. FALSE If something failed and no Plain is available.
The TRUE Windows® encryption and keying mechanisms are unknown.
dwFlags and pPromptStruct are currently ignored.
Memory allocated in pDataOut and non-NULL ppszDataDescr must be freed with LocalFree.
Declared in "include/wincrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/wincrypt.h
Implemented in "dlls/crypt32/protectdata.c". gitlab.winehq.org/wine/wine/blob/master/dlls/crypt32/protectdata.c
Debug channel "crypt".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.