X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <490CB78C.32201C69@dessent.net> Date: Sat, 01 Nov 2008 13:09:48 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Call "undocumented" NTDLL functions with Cygwin/gcc? References: <20081101074937 DOT GA4858 AT panix DOT com> <20081101091443 DOT GT6478 AT calimero DOT vinschen DOT de> <20081101141356 DOT GA4936 AT ednor DOT casa DOT cgf DOT cx> <20081101174842 DOT GA10646 AT panix DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com David Arnstein wrote: > #include You don't need the w32api prefix, that is part of the built-in search path -- otherwise, #include 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/