kernel32: Add a stub for RegisterApplicationRecoveryCallback.

This commit is contained in:
Austin English 2011-05-22 16:18:06 -05:00 committed by Alexandre Julliard
parent ac2c5039c9
commit e701ca90aa
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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