[ros-dev] the 3 partially duplicated NTSTATUS code copies

Royce Mitchell III royce3 at ev1.net
Mon Dec 5 01:19:41 CET 2005


Ge van Geldorp wrote:

>>From: art yerkes
>>
>>Does anybody object to consolidating all but one of the 
>>partial NTSTATUS_* copies to:
>>
>>#ifndef WIN32_NO_STATUS
>>#include <ddk/ntstatus.h>
>>#endif
>>
>>And keeping the copy in ddk/ntstatus.h ?
>>    
>>
>
>I assume you mean the other copies in <ntstatus.h> and <winnt.h>? The
>problem is that those are not identical, <winnt.h> has them typecast as
>DWORD while <ntstatus.h> has them typecast as NTSTATUS. This is the same as
>in the PSDK.
>
>GvG
>  
>
this could be handled with some creative #defines



More information about the Ros-dev mailing list