Call "undocumented" NTDLL functions with Cygwin/gcc?

Brian Dessent brian@dessent.net
Sat Nov 1 20:10:00 GMT 2008


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/



More information about the Cygwin mailing list