




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
windows.hWindows程序的开头都可看到: #include WINDOWS.H是主要的头文件,它包含了其他Windows头文件,这些头文件的某些也包含了其他头文件。这些头文件中最重要的和最基本的是: WINDEF.H 基本型态定义。 WINNT.H 支援Unicode的型态定义。 WINBASE.H Kernel函数。 WINUSER.H 使用者介面函数。 WINGDI.H 图形装置介面函数。 这些头文件定义了Windows的所有资料型态、函数调用、资料结构和常数识别字,它们是Windows文件中的一个重要部分。 编辑本段文件内容/*+ BUILD Version: 0001 Increment this if a change has global effects Copyright (c) Microsoft Corporation. All rights reserved. Module Name: windows.h Abstract: Master include file for Windows applications. -*/ #ifndef _WINDOWS_ #define _WINDOWS_ #ifdef _BORLANDC_ #pragma defineonoption _BOROPT_A -A #pragma defineonoption _BOROPT_H -H #if (_BORLANDC_ = 0x550) & defined(_BOROPT_A) & defined(_BOROPT_H) #error The use of both -A (ANSI mode) and -H (pre-compiled headers) at the same time is unsupported. #endif #endif /* _BORLANDC_ */ #pragma option push -b -a8 -pc -A- /*P_O_Push*/ #ifndef WINVER #define WINVER 0x0501 #else #if defined(_WIN32_WINNT) & (WINVER 0x0400) #error WINVER setting conflicts with _WIN32_WINNT setting #endif #endif #ifndef _INC_WINDOWS #define _INC_WINDOWS #if defined (_MSC_VER) & (_MSC_VER = 1020) #pragma once #endif /* If defined, the following flags inhibit definition * of the indicated items. * * NOGDICAPMASKS - CC_*, LC_*, PC_*, CP_*, TC_*, RC_ * NOVIRTUALKEYCODES - VK_* * NOWINMESSAGES - WM_*, EM_*, LB_*, CB_* * NOWINSTYLES - WS_*, CS_*, ES_*, LBS_*, SBS_*, CBS_* * NOSYSMETRICS - SM_* * NOMENUS - MF_* * NOICONS - IDI_* * NOKEYSTATES - MK_* * NOSYSCOMMANDS - SC_* * NORASTEROPS - Binary and Tertiary raster ops * NOSHOWWINDOW - SW_* * OEMRESOURCE - OEM Resource values * NOATOM - Atom Manager routines * NOCLIPBOARD - Clipboard routines * NOCOLOR - Screen colors * NOCTLMGR - Control and Dialog routines * NODRAWTEXT - DrawText() and DT_* * NOGDI - All GDI defines and routines * NOKERNEL - All KERNEL defines and routines * NOUSER - All USER defines and routines * NONLS - All NLS defines and routines * NOMB - MB_* and MessageBox() * NOMEMMGR - GMEM_*, LMEM_*, GHND, LHND, associated routines * NOMETAFILE - typedef METAFILEPICT * NOMINMAX - Macros min(a,b) and max(a,b) * NOMSG - typedef MSG and associated routines * NOOPENFILE - OpenFile(), OemToAnsi, AnsiToOem, and OF_* * NOSCROLL - SB_* and scrolling routines * NOSERVICE - All Service Controller routines, SERVICE_ equates, etc. * NOSOUND - Sound driver routines * NOTEXTMETRIC - typedef TEXTMETRIC and associated routines * NOWH - SetWindowsHook and WH_* * NOWINOFFSETS - GWL_*, GCL_*, associated routines * NOCOMM - COMM driver routines * NOKANJI - Kanji support stuff. * NOHELP - Help engine interface. * NOPROFILER - Profiler interface. * NODEFERWINDOWPOS - DeferWindowPos routines * NOMCX - Modem Configuration Extensions */ #if defined(RC_INVOKED) & !defined(NOWINRES) #include #else #if defined(RC_INVOKED) /* Turn off a bunch of stuff to ensure that RC files compile OK. */ #define NOATOM #define NOGDI #define NOGDICAPMASKS #define NOMETAFILE #define NOMINMAX #define NOMSG #define NOOPENFILE #define NORASTEROPS #define NOSCROLL #define NOSOUND #define NOSYSMETRICS #define NOTEXTMETRIC #define NOWH #define NOCOMM #define NOKANJI #define NOCRYPT #define NOMCX #endif #if defined(_BORLANDC_) & defined(_cplusplus) # include / Needed for protos of memxxx() routines #endif #if defined(_BORLANDC_) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0500 /* If not set, assume NT 5.00 */ # endif # if defined(_cplusplus) # define NOMINMAX /* for WINDEF.H */ # else # define NONAMELESSUNION /* for OAIDL.H, OBJIDL.H,. */ # endif # if defined(_UNICODE) # define UNICODE # endif #endif #if !defined(_68K_) & !defined(_MPPC_) & !defined(_X86_) & !defined(_IA64_) & !defined(_AMD64_) & defined(_M_IX86) #define _X86_ #endif #if !defined(_68K_) & !defined(_MPPC_) & !defined(_X86_) & !defined(_IA64_) & !defined(_AMD64_) & defined(_M_AMD64) #define _AMD64_ #endif #if !defined(_68K_) & !defined(_MPPC_) & !defined(_X86_) & !defined(_IA64_) & !defined(_AMD64_) & defined(_M_M68K) #define _68K_ #endif #if !defined(_68K_) & !defined(_MPPC_) & !defined(_X86_) & !defined(_IA64_) & !defined(_AMD64_) & defined(_M_MPPC) #define _MPPC_ #endif #if !defined(_68K_) & !defined(_MPPC_) & !defined(_X86_) & !defined(_M_IX86) & !defined(_AMD64_) & defined(_M_IA64) #if !defined(_IA64_) #define _IA64_ #endif / !_IA64_ #endif #ifndef _MAC #if defined(_68K_) | defined(_MPPC_) #define _MAC #endif #endif #if defined (_MSC_VER) #if ( _MSC_VER = 800 ) #ifndef _cplusplus #pragma warning(disable:4116) / TYPE_ALIGNMENT generates this - move it / outside the warning push/pop scope. #endif #endif #endif #ifndef RC_INVOKED #if ( _MSC_VER = 800 ) | defined(_BORLANDC_) #pragma warning(disable:4514) #ifndef _WINDOWS_DONT_DISABLE_PRAGMA_PACK_WARNING_ #pragma warning(disable:4103) #endif #if _MSC_VER = 1200 #pragma warning(push) #endif #pragma warning(disable:4001) #pragma warning(disable:4201) #pragma warning(disable:4214) #endif #include #include #endif /* RC_INVOKED */ #include #include #include #include #if !defined(_MAC) | defined(_WIN32NLS) #include #endif #ifndef _MAC #include #include #endif #if !defined(_MAC) | defined(_WIN32REG) #include #endif #ifndef _MAC #include #endif #ifndef WIN32_LEAN_AND_MEAN #include #include #include #include #ifndef _MAC #include #include #include #include #endif #include #ifndef _MAC #include #include #endif #ifndef NOCRYPT #include #include #include #endif #ifndef NOGDI #ifndef _MAC #include #ifdef INC_OLE1 #include #else #include #endif /* !INC_OLE1 */ #endif /* !MAC */ #include #endif /* !NOGDI */ #endif /* WIN32_LEAN_AND_MEAN */ #include #ifdef _MAC #include #endif #ifdef INC_OLE2 #include #endif /* INC_OLE2 */ #ifndef _MAC #ifndef NOSERVICE #include #endif #if(WINVER = 0x0400) #ifndef NOMCX #include #endif /* NOMCX */ #ifndef NOIME #include #endif #endif /* WINVER = 0x0400 */ #endif #ifndef
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 先秦诸子散文论语课件
- 18棉花姑娘 公开课一等奖创新教学设计(2课时)
- 化学公司安全培训总结课件
- 化学仓库安全培训内容课件
- 汉语拼音8 zhchshr +公开课一等奖创新教学设计
- 统编版语文二年级上册第三单元语文园地 +公开课一等奖创新教学设计
- 数字版权确权与溯源-洞察及研究
- 麻醉药品和第一类精神药品培训
- 母婴数字健康平台-洞察及研究
- 元音和韵母课件
- 科普:农药毒性分类
- 药事管理与法规
- YC/Z 550-2016卷烟制造过程质量风险评估指南
- 工程水文第3章课件
- GB/T 4032-2013具有摆轮游丝振荡系统的精密手表
- GB/T 34875-2017离心泵和转子泵用轴封系统
- GB/T 21063.4-2007政务信息资源目录体系第4部分:政务信息资源分类
- GA/T 1081-2020安全防范系统维护保养规范
- 02药物不良反应adr课件
- 施工项目成本管理课件
- 文物建筑保护修缮专项方案
评论
0/150
提交评论