From d5ef271ecec7dfe974a95feff1847489e93b9f9f Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 29 Aug 2014 18:18:59 -0500 Subject: [PATCH] advapi32: Add stub for CloseEncryptedFileRaw. --- dlls/advapi32/advapi32.spec | 2 +- dlls/advapi32/crypt.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index d1ab64d4371..f1cae1f88f1 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -84,7 +84,7 @@ @ stdcall ClearEventLogA (long str) @ stdcall ClearEventLogW (long wstr) # @ stub CloseCodeAuthzLevel -# @ stub CloseEncryptedFileRaw +@ stdcall CloseEncryptedFileRaw(ptr) @ stdcall CloseEventLog (long) @ stdcall CloseServiceHandle(long) # @ stub CloseThreadWaitChainSession diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c index f74dee45574..b2be5e3ae44 100644 --- a/dlls/advapi32/crypt.c +++ b/dlls/advapi32/crypt.c @@ -319,6 +319,23 @@ static void CRYPT_CreateMachineGuid(void) } } + +/****************************************************************************** + * CloseEncryptedFileRaw (ADVAPI32.@) + * + * Close encrypted files + * + * PARAMS + * context [I] pointer to the context + * RETURNS + * Success: ERROR_SUCCESS + * Failure: NTSTATUS error code + */ +void WINAPI CloseEncryptedFileRaw(PVOID context) +{ + FIXME("(%p): stub\n", context); +} + /****************************************************************************** * CryptAcquireContextW (ADVAPI32.@) *