This is the mail archive of the
mailing list for the Cygwin project.
Re: Call "undocumented" NTDLL functions with Cygwin/gcc?
David Arnstein wrote:
> #include <w32api/ddk/ntapi.h>
You don't need the w32api prefix, that is part of the built-in search
path -- otherwise, #include <windows.h> would not work.
You also need to link with -lntdll.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html