[PATCH] avrt: Add AvQuerySystemResponsiveness stub.

Dmitry Timoshkov dmitry at baikal.ru
Wed Aug 16 07:39:32 CDT 2017


Huw Davies <huw at codeweavers.com> wrote:

> > +BOOL WINAPI AvQuerySystemResponsiveness(HANDLE AvrtHandle, PULONG SystemResponsivenessValue)
> > +{
> > +    FIXME("(%p, %p): stub\n", AvrtHandle, SystemResponsivenessValue);
> > +    return TRUE;
> > +}
> > +
> 
> If you're going to return TRUE, you need to initialize
> *SystemResponsivenessValue to something meaningful.
> 
> While you're at it, we generally prefer 'ULONG *' to 'PULONG',

I'd guess that public APIs should follow the PSDK declarations, and
where PSDK has PULONG an appropriate Wine header should have ULONG
as well.

-- 
Dmitry.



More information about the wine-devel mailing list