pub unsafe extern "system" fn NCryptCreatePersistedKey(
    hprovider: NCRYPT_PROV_HANDLE,
    phkey: *mut NCRYPT_KEY_HANDLE,
    pszalgid: PCWSTR,
    pszkeyname: PCWSTR,
    dwlegacykeyspec: CERT_KEY_SPEC,
    dwflags: NCRYPT_FLAGS,
) -> HRESULT