Commit 9ea80d88 authored by Joseph Kogut's avatar Joseph Kogut Committed by Alexandre Julliard

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

parent ff885a81
...@@ -101,6 +101,14 @@ SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object) ...@@ -101,6 +101,14 @@ SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object)
return NTE_NOT_SUPPORTED; 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, SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
const WCHAR *name, DWORD keyspec, DWORD flags) const WCHAR *name, DWORD keyspec, DWORD flags)
{ {
...@@ -113,3 +121,11 @@ SECURITY_STATUS WINAPI NCryptOpenStorageProvider(NCRYPT_PROV_HANDLE *provider, c ...@@ -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); FIXME("(%p, %s, %u): stub\n", provider, wine_dbgstr_w(name), flags);
return NTE_NOT_SUPPORTED; 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;
}
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
@ stdcall NCryptFinalizeKey(long long) @ stdcall NCryptFinalizeKey(long long)
@ stdcall NCryptFreeBuffer(ptr) @ stdcall NCryptFreeBuffer(ptr)
@ stdcall NCryptFreeObject(long) @ stdcall NCryptFreeObject(long)
@ stub NCryptGetProperty @ stdcall NCryptGetProperty(ptr wstr ptr long ptr long)
@ stub NCryptGetProtectionDescriptorInfo @ stub NCryptGetProtectionDescriptorInfo
@ stub NCryptImportKey @ stub NCryptImportKey
@ stub NCryptIsAlgSupported @ stub NCryptIsAlgSupported
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
@ stub NCryptRegisterProtectionDescriptorName @ stub NCryptRegisterProtectionDescriptorName
@ stub NCryptSecretAgreement @ stub NCryptSecretAgreement
@ stub NCryptSetAuditingInterface @ stub NCryptSetAuditingInterface
@ stub NCryptSetProperty @ stdcall NCryptSetProperty(ptr wstr ptr long long)
@ stub NCryptSignHash @ stub NCryptSignHash
@ stub NCryptStreamClose @ stub NCryptStreamClose
@ stub NCryptStreamOpenToProtect @ stub NCryptStreamOpenToProtect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment