This is the mail archive of the cygwin@cygwin.com 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: w32api header problems


Hi!

Wednesday, 09 January, 2002 Jean le Roux jean@infosat.net wrote:

JlR> I need to include /usr/include/w32api/winbase.h in order to use the
JlR> GetVolumeInformation(...) system call under windows.

JlR> However, as i metioned in an earlier mail, DWORD seems to not be
JlR> defined. I tracked DWORD's definition down to windef.h.. but it seems
JlR> the whole include chain is a bit funny.. there are lots of
JlR> inter-dependencies which are not satisfied. 

JlR> Does anyone have any words of wisdom to make life a little easier, or
JlR> do I simply have to test for, and include, all the headers in w32api ?

you ought to

#include <windows.h>

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]