Hi Jacek,

At first I had it just returning  E_NOTIMPL but then I saw that the stubs above this one like HRESULT ApplicationRecoveryInProgress and HRESULT RegisterApplicationRecoveryCallback used this syntax with setting last error as well so I thought there was a reason for that (some application depends on that???)

Anyway, , i `ll send an updated version then.

Thanks, Louis





Op ma 27 aug. 2018 om 17:57 schreef Jacek Caban <jacek@codeweavers.com>:
Hi Louis,

On 08/27/2018 05:50 PM, Louis Lenders wrote:
> +/***********************************************************************
> + *           GetApplicationRestartSettings       (KERNEL32.@)
> + */
> +HRESULT WINAPI GetApplicationRestartSettings(HANDLE process, WCHAR *cmdline, DWORD *size, DWORD *flags)
> +{
> +    FIXME("%p, %p, %p, %p)\n", process, cmdline, size, flags);
> +    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
> +    return E_FAIL;


Functions returning HRESULT don't use SetLastError().


Thanks,

Jacek