日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

c语言partition头文件,c语言_头文件_windows.h

發布時間:2024/3/24 windows 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 c语言partition头文件,c语言_头文件_windows.h 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

概述

Win32程序的開頭都可看到:

#include

WINDOWS.H是一個最重要的頭文件,它包含了其他Windows頭文件,這些頭文件的某些也包含了其他頭文件。這些頭文件中最重要的和最基本的是:

WINDEF.H 基本數據類型定義。

WINNT.H 支持Unicode的類型定義。

WINBASE.H Kernel(內核)函數。

WINUSER.H 用戶界面函數。

WINGDI.H 圖形設備接口函數。

這些頭文件定義了Windows的所有資料型態、函數調用、資料結構和常數識別字,它們是Windows文件中的一個重要部分。

文件路徑 Windows 64位系統:

C:\Program Files (x86)\Microsoft

SDKs\Windows\v7.0A\Include。[Windows 7 ? ?SDK]

C:\Program Files

(x86)\Windows Kits\8.0\Include\um

[Windows 8 ? ?SDK]

C:\Program Files

(x86)\Windows Kits\8.1\Include\um

[Windows 8.1 SDK]

不同版本的SDK位置不一樣,x86的在C:\Program

Files\ 相應的SDK下。

文件內容#include

/*++ 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_

#include

#ifndef _INC_WINDOWS

#define _INC_WINDOWS

#if defined (_MSC_VER) && (_MSC_VER >= 1020)

#pragma once

#endif

#pragma region Application Family

#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

/* 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(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && !defined(_ARM_) && defined(_M_IX86)

#define _X86_

#endif

#if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && !defined(_ARM_) && defined(_M_AMD64)

#define _AMD64_

#endif

#if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && !defined(_ARM_) && defined(_M_ARM)

#define _ARM_

#endif

#if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && !defined(_ARM_) && defined(_M_M68K)

#define _68K_

#endif

#if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && !defined(_ARM_) && defined(_M_MPPC)

#define _MPPC_

#endif

#if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_M_IX86) && !defined(_AMD64_) && !defined(_ARM_) && 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 )

#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 RC_INVOKED

#if ( _MSC_VER >= 800 )

#if _MSC_VER >= 1200

#pragma warning(pop)

#else

#pragma warning(default:4001)

#pragma warning(default:4201)

#pragma warning(default:4214)

/* Leave 4514 disabled. It‘s an unneeded warning anyway. */

#endif

#endif

#endif /* RC_INVOKED */

#endif /* RC_INVOKED */

#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */

#pragma endregion

#endif /* _INC_WINDOWS */

#endif /* _WINDOWS_ */

作用

頭文件封裝了庫函數以及一些類,將一些復雜的工作由庫函數處理,而用戶不必把精力放在這些地方。比如說cout<

而這一系列的函數都在頭文件中包含(是一個函數庫)。在調用時包涵后便可直接用。

用法

C/C++ 程序在源文件前面寫 #include 即可

原文:http://www.cnblogs.com/landv/p/3593794.html

總結

以上是生活随笔為你收集整理的c语言partition头文件,c语言_头文件_windows.h的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。