kernel32: Add a stub for RegisterApplicationRecoveryCallback.
This commit is contained in:
parent
ac2c5039c9
commit
e701ca90aa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue