Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <2790C26F14D8D311862E00508B6FB94FA5F5CB@sjc-exm-03.corp.ebay.com> From: "Shtil, Yuri" To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Some winapi routines are not available Date: Tue, 1 Aug 2000 15:09:44 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi, I was trying to use SetEntriesInAcl in my .c program. This function is described in the microsoft documentation, is present in libadvapi32.a. It is not prototyped however in windows.h, neither are defined some structures needed by the function. I've copied them from the doc into the source file. ANyway, the link failes complaining about not found SetEntriesInAcl. I did some investigation and discovered that in the microsoft tools (like VC++) SetEntriesInAcl is redifined as SetEntriesInAclA or SetEntriesInAclW depending on unicode. These symbols are present in advapi32.dll. There is no SetEntriesInAcl in advapi32.dll. It seems to me that something needs to be done for this to work under gcc. Any idea ? All help would be greatly appreciated !!!! ---------------------------------------------------------------------------- ---------------- Yuri Shtil, Build/Release Engineer E-Mail: yshtil AT ebay DOT com Ext 7583 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com