[PATCH] kernel32: add stub for GetApplicationRestartSettings

Louis Lenders xerox.xerox2000x at gmail.com
Mon Aug 27 11:17:00 CDT 2018


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 at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180827/182c3b0b/attachment-0001.html>


More information about the wine-devel mailing list