Edit

GetKeyStorageInterface function

Retrieves the key storage interface for the specified provider.

Syntax

HRESULT WINAPI GetKeyStorageInterface(
  _In_ LPCWSTR pszProviderName,
  _Out_ NCRYPT_KEY_STORAGE_FUNCTION_TABLE** ppFunctionTable,
  _In_ DWORD dwFlags
);

Parameters

pszProviderName

The provider name.

ppFunctionTable

Used to retrieve the key storage interface.

dwFlags

Flags.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

GetKeyStorageInterface isn't associated with a header file. You can call it by first using the LoadLibrary function (to load Ncrypt.dll), and then by calling the GetProcAddress function to retrieve the address of GetKeyStorageInterface.

Requirements

Requirement Value
Target Platform Windows
Header N/A
Library Ncrypt.lib
DLL Ncrypt.dll