delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/01/09:15:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 1 Nov 2008 10:13:57 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Call "undocumented" NTDLL functions with Cygwin/gcc?
Message-ID: <20081101141356.GA4936@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20081101074937 DOT GA4858 AT panix DOT com> <20081101091443 DOT GT6478 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20081101091443.GT6478@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019