.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CryptUnprotectData 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCryptUnprotectData\fR (CRYPT32.@) .SH SYNOPSIS BOOL CryptUnprotectData ( DATA_BLOB* \fIpDataIn\fR, LPWSTR* \fIppszDataDescr\fR, DATA_BLOB* \fIpOptionalEntropy\fR, PVOID \fIpvReserved\fR, CRYPTPROTECT_PROMPTSTRUCT* \fIpPromptStruct\fR, DWORD \fIdwFlags\fR, DATA_BLOB* \fIpDataOut\fR ) .SH DESCRIPTION .PP Generate Plain data and Description from given Cipher and Entropy data. .SH PARAMS \fIpDataIn\fR \fB[In]\fR Cipher data to be decoded. .PP \fIppszDataDescr\fR \fB[Out]\fR Optional Unicode string describing the Plain data. .PP \fIpOptionalEntropy\fR \fB[In]\fR Optional entropy data to adjust cipher, can be \fBNULL\fR. .PP \fIpvReserved\fR \fB[In]\fR Reserved, must be \fBNULL\fR. .PP \fIpPromptStruct\fR \fB[In]\fR Structure describing if/how to prompt during decoding. .PP \fIdwFlags\fR \fB[In]\fR Flags describing options to the decoding. .PP \fIpDataOut\fR \fB[Out]\fR Resulting Plain data, from calls to CryptProtectData. .PP .SH RETURNS .PP \fBTRUE\fR If a Plain was generated. \fBFALSE\fR If something failed and no Plain is available. .SH FIXME .PP The \fBTRUE\fR Windows(tm) encryption and keying mechanisms are unknown. .PP \fIdwFlags\fR and \fIpPromptStruct\fR are currently ignored. .SH NOTES .PP Memory allocated in \fIpDataOut\fR and non-NULL \fIppszDataDescr\fR must be freed with LocalFree. .SH IMPLEMENTATION .PP Declared in \fB"wincrypt.h"\fR. .PP Implemented in \fB"dlls/crypt32/protectdata.c"\fR. .PP Debug channel \fB"crypt"\fR.