[PATCH] include: add the corresponding #define to #ifndef WIN32_NO_STATUS.
wxsxsdz at gmail.com
Fri Nov 22 03:12:08 CST 2019
Ok, thanks for the clarification. It's very helpful!
Alexandre Julliard <julliard at winehq.org> 于2019年11月22日周五 下午4:08写道：
> shuai zhang <wxsxsdz at gmail.com> writes:
> > Hello,
> > I want to use NT_SUCCESS() to test the return value of some functions,
> > and STATUS_SUCCESS is only defined in ntstatus.h,
> > not in winnt.h (which is in turn included by windef.h). So should we
> > change the headers in this way? So that we can write
> > #include "ntstatus.h"
> > #include "windef.h"
> > then it is possible to use NT_SUCCESS().
> You have to define WIN32_NO_STATUS yourself. That's dumb, but it's the
> way Microsoft does it.
> Alexandre Julliard
> julliard at winehq.org
More information about the wine-devel