windows.h
From Wikipedia, the free encyclopedia
This article may require cleanup to meet Wikipedia's quality standards. Please improve this article if you can. (April 2007) |
windows.h is a Windows-specific header file for the C programming language which contains all the function declarations in the API, as well as declarations for 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 amount of windows specific functions that can be used with C. The Win32 API can be added to a C programming project by linking to the appropriate libraries (kernel32.lib, user32.lib and gdi32.lib), and by including the <windows.h> header file.
There are a number of child header files that are automatically included with windows.h. Many of these files cannot simply be included by themselves, because of dependencies.
windows.h may include any of the following header files:
- winresrc.h
-
- winuser.h
- winver.h
- stdarg.h
- windef.h
- wincon.h
- winbase.h - dependent on stdarg.h and windef.h
- wingdi.h
- winnls.h
- winnetwk.h
- winreg.h
- winsvc.h
- cderr.h
- dde.h
- ddeml.h
- dlgs.h
- imm.h
- lzexpand.h
- mmsystem.h
- nb30.h
- rpc.h
- shellapi.h
- winperf.h
- commdlg.h
- winspool.h
- winsock2.h
- winsock.h
- ole2.h