Group: Cryptography Reference - Library: advapi32
CryptoAPI: Collection of Providers class
BOOL WINAPI CryptGetKeyParam(
HCRYPTKEY hKey,
DWORD dwParam,
BYTE* pbData,
DWORD* pdwDataLen,
DWORD dwFlags
);
DECLARE INTEGER CryptGetKeyParam IN advapi32;
INTEGER hKey,;
INTEGER dwParam,;
STRING @ pbData,;
INTEGER @ pdwDataLen,;
INTEGER dwFlags
hKey [in] Handle to the key being queried.
dwParam [in] Specifies the query being made.
pbData [out] Pointer to a sequence of BYTEs to receive the data.
pdwDataLen [in, out] Pointer to a DWORD value specifying the size, in bytes, of the buffer pointed to by the pbData parameter.
dwFlags [in] Reserved for future use and must be zero.
If the function succeeds, the return value is nonzero (TRUE).
If the Microsoft Cryptographic Service Provider is used, the base symmetric keying material is not obtainable by this function or any other function.