This is the mail archive of the
cygwin
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.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/