This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call "undocumented" NTDLL functions with Cygwin/gcc?


On Sat, Nov 01, 2008 at 10:14:44AM +0100, Corinna Vinschen wrote:
>On Nov  1 03:49, David Arnstein wrote:
>>I would like to use some of the "undocumented" NTDLL functions from
>>within a C or C++ program.  I would like to compile this program from
>>Cygwin's C or C++ compiler.
>>
>>The functions I refer to involve Registry operations, such as
>>NtQueryValueKey() and NtEnumerateValueKey().  I found some sparse
>>documentation here:
>>http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/NT%20Objects/Key/NtQueryValueKey.html
>>
>>I could not find these under /usr/include.  Any suggestions?
>
>Many of the ntdll functions and types are defined under
>/usr/include/w32api/ddk.  The definitions are not complete so expect
>that you have to create your own header to define missing symbols.
>Patches to extend the files in w32api (maintained by the MingW team)
>are always welcome.

But they don't go to this mailing list.  Check out mingw.org.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]