RSAENH_CPAcquireContext(3w)

RSAENH_CPAcquireContext3w

Usage

BOOL RSAENH_CPAcquireContext
(
HCRYPTPROV* phProv,
LPSTR pszContainer,
DWORD dwFlags,
PVTableProvStruc pVTable
)

Overview

Acquire a handle to the key container specified by pszContainer.

Params

phProv [Out] Pointer to the location the acquired handle will be written to.

pszContainer [In] Name of the desired key container. See Notes.

dwFlags [In] Flags. See Notes.

pVTable [In] Pointer to a PVTableProvStruct containing callbacks.

Returns

Success: TRUE

Failure: FALSE.

Notes

If pszContainer is NULL or points to a zero length string the user's login name will be used as the key container name.

If the CRYPT_NEW_KEYSET flag is set in dwFlags a new keyset will be created. If a keyset with the given name already exists, the function fails and sets last error to NTE_EXISTS. If CRYPT_NEW_KEYSET is not set and the specified key container does not exist, function fails and sets last error to NTE_BAD_KEYSET.

Implementation

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c".

Debug channel "crypt".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.