From: Michael K. <mic...@gm...> - 2011-08-18 22:21:22
|
On 08/18/2011 11:52 PM, Sam Steingold wrote: >> * Michael Kappert<zvp...@tz...g> [2011-08-17 22:10:51 +0200]: >> >> On 08/10/2011 03:13 PM, Sam Steingold wrote: >> >>> so, what should be included on your system? >> >> I have almost the same setup: >> MINGW32_NT-6.0 MICHAEL-PC 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys >> GCC 4.5.2 >> >> I don't have winternl.h and ntstatus.h. I assume configure checks for >> them because they are needed on cygwin. >> >> Only ddk/ntifs.h is needed for NtQueryInformationFile (instead of >> ddk/winddk.h and/or ddk/ntddk.h). > > my cygwin system has ddk/ntifs.h too but I cannot use it, see > <http://article.gmane.org/gmane.os.cygwin:128137> > FTR, I don't use cygwin at all, I use MinGW+MSYS. ddk/ntifs.h is the only place that defines FILE_ACCESS_INFORMATION on my installation (current MinGW installed 5 days ago). This version has #include "ntddk.h" which is correct. It does not include wdm.h. Looks like you need to include different headers in unix.d (cygwin) and win32.d (MinGW) ? Michael |