ncrypt: Add NCrypt{Get,Set}Property stubs.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Joseph Kogut 2019-10-04 18:27:09 -07:00 committed by Alexandre Julliard
parent ff885a810d
commit 9ea80d88b9
2 changed files with 18 additions and 2 deletions

View File

@ -101,6 +101,14 @@ SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object)
return NTE_NOT_SUPPORTED;
}
SECURITY_STATUS WINAPI NCryptGetProperty(NCRYPT_HANDLE object, const WCHAR *property, PBYTE output,
DWORD outsize, DWORD *result, DWORD flags)
{
FIXME("(0x%lx, %s, %p, %u, %p, 0x%08x): stub\n", object, wine_dbgstr_w(property), output, outsize,
result, flags);
return NTE_NOT_SUPPORTED;
}
SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
const WCHAR *name, DWORD keyspec, DWORD flags)
{
@ -113,3 +121,11 @@ SECURITY_STATUS WINAPI NCryptOpenStorageProvider(NCRYPT_PROV_HANDLE *provider, c
FIXME("(%p, %s, %u): stub\n", provider, wine_dbgstr_w(name), flags);
return NTE_NOT_SUPPORTED;
}
SECURITY_STATUS WINAPI NCryptSetProperty(NCRYPT_HANDLE object, const WCHAR *property,
PBYTE input, DWORD insize, DWORD flags)
{
FIXME("(%lx, %s, %p, %u, 0x%08x): stub\n", object, wine_dbgstr_w(property), input, insize,
flags);
return NTE_NOT_SUPPORTED;
}

View File

@ -74,7 +74,7 @@
@ stdcall NCryptFinalizeKey(long long)
@ stdcall NCryptFreeBuffer(ptr)
@ stdcall NCryptFreeObject(long)
@ stub NCryptGetProperty
@ stdcall NCryptGetProperty(ptr wstr ptr long ptr long)
@ stub NCryptGetProtectionDescriptorInfo
@ stub NCryptImportKey
@ stub NCryptIsAlgSupported
@ -90,7 +90,7 @@
@ stub NCryptRegisterProtectionDescriptorName
@ stub NCryptSecretAgreement
@ stub NCryptSetAuditingInterface
@ stub NCryptSetProperty
@ stdcall NCryptSetProperty(ptr wstr ptr long long)
@ stub NCryptSignHash
@ stub NCryptStreamClose
@ stub NCryptStreamOpenToProtect