Commit e701ca90 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Add a stub for RegisterApplicationRecoveryCallback.

parent ac2c5039
......@@ -978,6 +978,7 @@
@ stdcall RegSetValueExW(long wstr long long ptr long) advapi32.RegSetValueExW
@ stdcall RegUnLoadKeyA(long str) advapi32.RegUnLoadKeyA
@ stdcall RegUnLoadKeyW(long wstr) advapi32.RegUnLoadKeyW
@ stdcall RegisterApplicationRecoveryCallback(ptr ptr long long)
@ stdcall RegisterApplicationRestart(wstr long)
@ stub RegisterConsoleIME
@ stub RegisterConsoleOS2
......
......@@ -3740,3 +3740,13 @@ HRESULT WINAPI ApplicationRecoveryInProgress(PBOOL canceled)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return E_FAIL;
}
/**********************************************************************
* RegisterApplicationRecoveryCallback (KERNEL32.@)
*/
HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK callback, PVOID param, DWORD pingint, DWORD flags)
{
FIXME("%p, %p, %d, %d: stub\n", callback, param, pingint, flags);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return E_FAIL;
}
......@@ -838,6 +838,8 @@ typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE
LARGE_INTEGER, DWORD, DWORD, HANDLE,
HANDLE, LPVOID);
typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK)(PVOID);
#define CREATE_EVENT_MANUAL_RESET 1
#define CREATE_EVENT_INITIAL_SET 2
......
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