RSAENH_CPAcquireContext(3w)

NAME

RSAENH_CPAcquireContext (RSAENH.@)

SYNOPSIS

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

DESCRIPTION

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/rsaenh/rsaenh.c".

Debug channel "crypt".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout