header file

May 7, 2011 at 5:05pm
what does header file windows.h do?
May 7, 2011 at 5:25pm
Wikipedia wrote:
windows.h is a Windows-specific header file for the C programming language which contains declarations for all of the functions in the Windows API, all the common macros used by Windows programmers, and all the data types used by the various functions and subsystems. It defines a very large number of Windows specific functions that can be used in C. The Win32 API can be added to a C programming project by including the <windows.h> header file and linking to the appropriate libraries. To use functions in xxxx.dll, the program must be linked to xxxx.lib (or libxxxx.a in MinGW). Some headers are not associated with a .dll but with a static library (e.g. scrnsave.h needs scrnsave.lib).

http://en.wikipedia.org/wiki/Windows.h
May 7, 2011 at 5:33pm
and what does this header file do in C++??
May 7, 2011 at 5:39pm
You can access the WIN32 API using windows.h in C++ as well.
May 7, 2011 at 5:40pm
okies. thank you
May 7, 2011 at 6:51pm
Topic archived. No new replies allowed.