Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: PositivePi AT aol DOT com Message-ID: <9cf0cd1e.24c153a7@aol.com> Date: Fri, 16 Jul 1999 23:33:59 EDT Subject: @at and a/w notations To: cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: AOL 4.0 for Windows 95 sub 3 Hi.. This is probably something that I'm supposed to know, but... What is the purpose of the @at and A/W notations in function names in .def's? For example, wsock32.def: EXPORTS EnumProtocolsA AT 12 EnumProtocolsW AT 12 GetAddressByNameA AT 40 GetAddressByNameW AT 40 GetNameByTypeA AT 12 GetNameByTypeW AT 12 -snip- 1) What does the @12 do? If you remove it and create a new library without it, it will not link. What adds this notation? I don't see anything in the Windows32/Sockets.h header file that would change socket to socket AT 12. Also, if I'm creating my own .def's, how do I figure out what the value to put after the @ is? 2) Why do some functions (but not all) have a pair with the A and W suffixes, even though theres only one function? What adds this? If I'm writing my own .def's, how do I know which functions need this? I realize this is probably a newbie question, but I can't find a FAQ that mentions anything about it.. =\ Aaron -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com