.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPAcquireContext 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPAcquireContext\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPAcquireContext ( HCRYPTPROV* \fIphProv\fR, LPSTR \fIpszContainer\fR, DWORD \fIdwFlags\fR, PVTableProvStruc \fIpVTable\fR ) .SH DESCRIPTION .PP Acquire a handle to the key container specified by \fIpszContainer\fR. .SH PARAMS \fIphProv\fR \fB[Out]\fR Pointer to the location the acquired handle will be written to. .PP \fIpszContainer\fR \fB[In]\fR Name of the desired key container. See Notes. .PP \fIdwFlags\fR \fB[In]\fR Flags. See Notes. .PP \fIpVTable\fR \fB[In]\fR Pointer to a PVTableProvStruct containing callbacks. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP If \fIpszContainer\fR is \fBNULL\fR or points to a zero length string the user's login name will be used as the key container name. .PP If the \fBCRYPT_NEW_KEYSET\fR flag is set in \fIdwFlags\fR a new keyset will be created. If a keyset with the given name already exists, the function fails and sets last error to \fBNTE_EXISTS\fR. If \fBCRYPT_NEW_KEYSET\fR is not set and the specified key container does not exist, function fails and sets last error to \fBNTE_BAD_KEYSET\fR. .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.