.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPCreateHash 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPCreateHash\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPCreateHash ( HCRYPTPROV \fIhProv\fR, ALG_ID \fIAlgid\fR, HCRYPTKEY \fIhKey\fR, DWORD \fIdwFlags\fR, HCRYPTHASH* \fIphHash\fR ) .SH DESCRIPTION .PP CPCreateHash creates and initializes a new hash object. .SH PARAMS \fIhProv\fR \fB[In]\fR Handle to the key container to which the new hash will belong. .PP \fIAlgid\fR \fB[In]\fR Identifies the hash algorithm, which will be used for the hash. .PP \fIhKey\fR \fB[In]\fR Handle to a session key applied for keyed hashes. .PP \fIdwFlags\fR \fB[In]\fR Currently no flags defined. Must be zero. .PP \fIphHash\fR \fB[Out]\fR Points to the location where a handle to the new hash will be stored. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP \fIhKey\fR is a handle to a session key applied in keyed hashes like \fBMAC\fR and \fBHMAC\fR. If a normal hash object is to be created (like e.g. \fBMD2\fR or \fBSHA1\fR) \fIhKey\fR must be zero. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/rsaenh/rsaenh.c"\fR. .PP Debug channel \fB"crypt"\fR.