一醉方休什么意思| 公务员属于什么行业| 什么食物对心脏好| 牙神经疼吃什么药| 任达华属什么生肖| tr什么意思| 扁桃体作用是什么| 吃茄子有什么好处和坏处| 石斛不能和什么一起吃| 梦到车被撞了什么预兆| 过敏性紫癜是什么症状| 痔疮是什么东西| 八月二号是什么星座| 严重贫血的人吃什么补血最快| 迪丽热巴的全名叫什么| 蓝帽子标志是什么意思| 梦到分手了是什么征兆| 月老叫什么名字| 剖腹产第四天可以吃什么| 睡觉磨牙是什么情况| 禄位是什么意思| 来事头疼什么原因| 猫睡在枕头旁说明什么| 为什么脚臭叫香港脚| 游园惊梦讲的是什么| hcg翻倍慢是什么原因| 巨蟹座幸运花是什么| 沙眼衣原体是什么病| 异丙嗪又叫什么名| 守字五行属什么| 男人耳后有痣代表什么| 阴道长什么样| 石斛念什么| 睡觉打嗝是什么原因| 不可亵玩焉的亵是什么意思| 城字五行属什么| 急性喉炎吃什么药| 什么叫三无产品| 农历五月二十四是什么星座| 治便秘什么药最好| 脱落细胞学检查是什么| 什么的爬| 养牛仔裤是什么意思| 移徙是什么意思| 突然嗜睡是什么原因造成的| 面肌痉挛吃什么药效果好| 4ever是什么意思| 什么事每人每天都必须认真的做| 1999年五行属什么| 孕妇梦见黑蛇是什么意思| kinghome是什么牌子| 男朋友有什么用| 碧是什么颜色| 小儿麻痹是什么病| 股骨头疼痛吃什么药| 牙膏什么牌子最好| 高考600多分能上什么大学| 星字属于五行属什么| 吃什么能解决便秘| 喜欢的反义词是什么| hpv检查挂什么科| 什么的松脂| 小孩睡觉流鼻血是什么原因引起的| 领结婚证需要带什么材料| 惋惜是什么意思| 梦见自己嫁人了预示着什么| 银行卡睡眠状态是什么意思| 辩证法是什么| 攀龙附凤是什么生肖| 过敏涂什么药膏| 妹汁是什么意思| 6月19什么星座| 眼睛长眼屎是什么原因| 超声是什么检查| 感冒黄鼻涕吃什么药| 肚脐下四指是什么位置| 白癜风吃什么药| 双氢克尿噻又叫什么| 什么是植物神经| 冬瓜吃了有什么好处| 黄鼠狼怕什么| 烁字五行属什么| 什么原因引起高血压| 口干舌燥吃点什么药| 白鸭是什么鸭| 高血糖可以吃什么水果| 什么止痛药效果最好| 脚气是什么菌| 十月十二日是什么星座| fans是什么意思| 孕妇梦见鱼是什么意思| 大便拉不出来什么原因| 肺结核吃什么食物好| 腰痛是什么原因引起的| 妇科炎症是什么原因引起的| 早熟是什么意思| 乙肝抗体1000代表什么| 金粉是什么| 铁扇公主是什么妖精| 38年属什么生肖| 拔罐拔出水是什么原因| 广州立冬吃什么| 白子是什么东西| 代发是什么意思| 国家能源局是什么级别| 减肥吃什么肉类| 潜能是什么意思| 喝什么解酒快| 发烧嗓子疼吃什么药好| 什么是敏感肌| 一月2日是什么星座| alike是什么意思| 忽冷忽热是什么意思| 二甲双胍什么时候吃最好| 26度穿什么衣服| daddy是什么意思| 淡紫色配什么颜色好看| 做喉镜能检查出什么病| 血沉高是什么病| bodywash是什么意思| kappa是什么牌子| 胃糜烂是什么原因引起的| 老师结婚学生送什么礼物好| 淡墨是什么意思| 昙花一现是什么意思| 三角区长痘痘是什么原因| 鱼扣是鱼的什么部位| 荨麻疹吃什么中药| 经常手淫会导致什么| 菊粉是什么| 跳闸是什么原因| 喉咙嘶哑是什么原因| 脖子上有肿块挂什么科| 一什么一什么造句| 主动脉夹层是什么原因引起的| 美国现在是什么时间| 恶露是什么样子的图片| 点痣用什么方法最好| 什么是阳痿| 白细胞高吃什么药| 二月八号是什么星座| 发好人卡是什么意思| 三文鱼刺身是什么意思| 什么叫阴吹| 心胆气虚吃什么中成药| 女生吃什么能淡化胡子| 洋葱有什么功效| 端午节干什么| 炫的意思是什么| 产后腰疼是什么原因| 梅花代表什么象征意义| 什么叫上升星座| 1999年发生了什么| 乙肝肝炎表面抗体阳性是什么意思| 百合花什么时候开花| 92年属猴是什么命| 法令纹上的痣代表什么| 刑事拘留意味着什么| chilli是什么意思| 儿童疝气挂什么科| 直肠疾病都有什么症状| 小处男是什么意思| 梦见把蛇打死了是什么意思| mu是什么意思| 长白头发了吃什么才能把头发变黑| 甲流乙流吃什么药| 立春有什么讲究| 脸色暗沉发黑是什么原因| 京东什么时候优惠最大| 小孩坐火车需要什么证件| 什么李子品种最好吃| mt是什么意思| 房性期前收缩是什么意思| 上海松江有什么好玩的地方| 早茶是什么意思| 神经纤维由什么组成| 什么是亚健康| 封建社会是什么意思| s1隐裂是什么意思| 甲亢都有什么症状| 孕初期吃什么对胎儿好| 黄喉是什么动物身上的| 肿瘤指标偏高什么意思| 腰肌劳损需要注意什么| hrv是什么病毒| 结婚30年是什么婚姻| 残骸是什么意思| 电母是什么意思| 多种维生素什么时候吃效果最好| 热伤风吃什么感冒药| 身心交瘁什么意思| 小排畸主要检查什么| 天贝是什么东西| 孕妇缺铁吃什么食物好| 认贼作父是什么意思| 渝北区有什么好玩的地方| 什么是粳米| 西米是什么东西| 爽肤水和精华水有什么区别| 什么是提供情绪价值| 孕早期适合吃什么水果| 世事无常是什么意思| 哆啦a梦大结局是什么| 以纯属于什么档次| 血沉偏高说明什么| 胆囊萎缩是什么原因| exr是什么牌子| 群青色是什么颜色| 人为什么会说梦话| 剪刀是什么生肖| 全青皮是什么皮| 前列腺炎是什么症状| 梦见蚯蚓是什么预兆| 吃什么能补蛋白| 为什么不来大姨妈也没有怀孕| 怎么知道自己什么血型| 车前草有什么功效| 道心是什么意思| ifound是什么牌子| 梦见自己会开车了是什么意思| 肚子经常胀气什么原因| 产检都检查什么项目| 高大上的意思是什么| 汪星是什么意思| 双顶径和头围有什么区别| 3月10号什么星座| 口腔溃疡吃什么药好得快| 1936年中国发生了什么| 银花指什么生肖| 白带异常吃什么药| 音高是什么意思| 子宫内膜回声欠均匀什么意思| 什么样的人容易得心梗| 身份证什么时候可以办| 喉咙一直有痰是什么原因| 小孩子上火吃什么能降火| 阳历6月28日是什么星座| 孕妇吃什么水果对胎儿好| 上海为什么被称为魔都| 樱桃跟车厘子有什么区别| 下肢水肿挂什么科| 孕期吃什么长胎不长肉| 活检是什么检查| 橙字五行属什么| 磨盘有什么风水说法| 姌是什么意思| 送病人什么礼物好| 上眼皮肿了是什么原因| 昊字五行属什么| 慢性肾炎是什么原因引起的| 批号是什么意思| 胃酸胃烧心吃什么药| 八仙过海指什么生肖| 脑供血不足有什么症状| 主张是什么意思| 肝脾不和吃什么中成药| 气血亏虚什么症状| 缩量是什么意思| 阴差阳错代表什么生肖| 腮腺炎挂什么科| 反流性食管炎是什么病| 慢性胃炎吃什么药效果好| 水浒传什么朝代| 血糖高看什么科室| 百度Jump to content

黑蛇是什么蛇

From Wikipedia, the free encyclopedia
百度 我们要密切关注这些变化,同时加快推进与之相关的各项工作。

The Microsoft Windows operating system and Microsoft Windows SDK support a collection of shared libraries that software can use to access the Windows API. This article provides an overview of the core libraries that are included with every modern Windows installation, on top of which most Windows applications are built.

Library sources

[edit]

The Windows operating system contains compiled versions of these libraries known as dynamically-linked libraries (.dll), which are executable libraries that can be used by multiple programs while only one copy of the library is loaded into memory. These are canonically referred to as system libraries and all programs installed on the system can utilize them.

The Windows SDK additionally distributes compiled versions of these libraries known as statically-linked libraries (.lib), which are non-executable libraries that, in whole or in part, can be embedded into a program when it is compiled.[disputeddiscuss] The most common Windows compilers being Microsoft Visual Studio and MinGW.

Internal components

[edit]

NTDLL.DLL

[edit]

NTDLL.DLL exports the Windows Native API. The Native API is the interface used by user-mode components of the operating system that must run without support from Win32 or other API subsystems. Most of this API is implemented in NTDLL.DLL and at the upper edge of ntoskrnl.exe (and its variants), and the majority of exported symbols within these libraries are prefixed Nt, for example NtDisplayString. Native APIs are also used to implement many of the "kernel APIs" or "base APIs" exported by KERNEL32.DLL.[1][2][3] The large majority of Windows applications do not call NTDLL.DLL directly.[4]

Applications that are linked directly against this library are said to use the native subsystem; the primary reason for their existence is to perform tasks that must run early in the system startup sequence before the Win32 subsystem is available. An obvious but important example is the creation of the Win32 subsystem process, csrss.exe. Before the csrss.exe process exists, no Win32 processes may be created, therefore the process that creates it (Smss.exe, the "session manager") must use the native subsystem. csrss.exe itself is such an application.

Despite having an ".exe" file extension, native applications cannot be executed by the user (or any program in the Win32 or other subsystems). An example is the autochk.exe binary that runs chkdsk during the system initialization "Blue Screen". Other prominent examples are the services that implement the various subsystems, such as csrss.exe.

Unlike Win32 applications, native applications instantiate within the Kernel runtime code (ntoskrnl.exe) and so they must have a different entry point (NtProcessStartup, rather than (w)(Win)MainCRTStartup as is found in a Win32 application),[2] obtain their command-line arguments via a pointer to an in-memory structure, manage their own memory using the Rtl heap API, (which the Win32 heap APIs are just wrappers around—no real difference there) and return execution with a call to RtlExitUserProcess (as opposed to ExitProcess). A common library linked with Native applications is nt.lib, which contains startup code for Native applications, similar to how the C runtime provides startup code for Win32 apps.[2]

Most of the Native API is not publicly documented or supported. This allows the API to evolve without having to guarantee backwards compatibility, and breaking changes are thus possible without notification. Native Applications can be built using the Windows Driver Development Kit.[5]

Win32 API

[edit]

The libraries in this section each implement various subsets of the Win32 API.

KERNEL32.DLL

[edit]

KERNEL32.DLL exposes to applications most of the Win32 base APIs, such as memory management, input/output (I/O) operations, process and thread creation, and synchronization functions.[6]

GDI32.DLL

[edit]

GDI32.DLL exports Graphics Device Interface (GDI) functions that perform primitive drawing functions for output to video displays and printers. It is used, for example, in the XP version of Paint. Applications call GDI functions directly to perform low-level drawing (line, rectangle, ellipse), text output, font management, and similar functions.[6][7]

Initially, GDI supported 16 and 256 color EGA/VGA display cards and monochrome printers. The functionality has expanded over the years, and now includes support for things like TrueType fonts, alpha channels, and multiple monitors.[8]

USER32.DLL

[edit]

USER32.DLL implements the Windows USER component that creates and manipulates the standard elements of the Windows user interface, such as the desktop, windows, and menus. It thus enables programs to implement a graphical user interface (GUI) that matches the Windows look and feel. Programs call functions from Windows USER to perform operations such as creating and managing windows, receiving window messages (which are mostly user input such as mouse and keyboard events, but also notifications from the operating system), displaying text in a window, and displaying message boxes.

Many of the functions in USER32.DLL call upon GDI functions exported by GDI32.DLL to do the actual rendering of the various elements of the user interface. Some types of programs will also call GDI functions directly to perform lower-level drawing operations within a window previously created via USER32 functions.

COMCTL32.DLL

[edit]

COMCTL32.DLL implements a wide variety of standard Windows controls, such as File Open, Save, and Save As dialogs, progress bars, and list views. It calls functions from both USER32.DLL and GDI32.DLL to create and manage the windows for these UI elements, place various graphic elements within them, and collect user input.

COMDLG32.DLL

[edit]

COMDLG32.DLL, the Common Dialog Box Library, implements a wide variety of Windows dialog boxes intended to perform what Microsoft deems 'common application tasks'. Starting with the release of Windows Vista, Microsoft considers the "Open" and "Save as" dialog boxes provided by this library as deprecated and replaced by the 'Common Item Dialog API'.[9]

WS2_32.DLL

[edit]

WS2_32.DLL implements the Winsock API, which provides TCP/IP networking functions and provides partial, broken compatibility with other network APIs. wsock.dll and wsock32.dll are older versions for Win3.11 and Win95 compatibility.

ADVAPI32.DLL

[edit]

ADVAPI32.DLL, the Advanced Windows 32 Base API DLL,[10] provides security calls and functions for manipulating the Windows Registry.

NETAPI32.DLL

[edit]

NETAPI32.DLL provides functions for querying and managing network interfaces.

OLE32.DLL

[edit]

OLE32.DLL provides the Component Object Model, as well as Object Linking and Embedding.

Other APIs

[edit]

SHSCRAP.DLL

[edit]

SHSCRAP.DLL is part of the Object Linking and Embedding (OLE) mechanism. It implements support for shell scrap files, which are automatically created when you drag selected content from an OLE-capable application into an Explorer window or desktop,[11] but you can also use the Object Packager to create them. They can then be dragged into another OLE-capable application.

This functionality was removed from Windows Vista (and therefore later versions) to improve security and rid the operating system of generally unused functionality.[12] Scrap (.shs) files have been used by viruses because they can contain a wide variety of files (including executable code), and the file extension is not shown even when "Hide file extensions from known file types" is disabled.[13] The functionality can be restored by copying registry entries and the DLL from a Windows XP system.[14]

WINMM.DLL

[edit]

WINMM.DLL provides access to the original WinMM audio API.

IMM32.DLL

[edit]

IMM32 is responsible for invoking and interacting with the Input Method Editor.

Runtime libraries

[edit]

MSVCRT.DLL, MSVCP*.DLL and CRTDLL.DLL

[edit]

MSVCRT.DLL is the C standard library for the Visual C++ (MSVC) compiler from version 4.2 to 6.0. It provides programs compiled by these versions of MSVC with most of the standard C library functions. These include string manipulation, memory allocation, C-style input/output calls, and others. MSVCP*.DLL is the corresponding C++ library.

It has shipped with Windows versions since Windows 95 OSR2.5 for use by other Windows components; earlier versions shipped with the CRTDLL.DLL library instead. In older versions of Windows, programs which linked against MSVCRT.DLL were expected to install a compatible copy in the System32 folder, but this contributed to DLL Hell because many installers failed to check the library version against the installed version before replacing it.

Versions of MSVC before 4.0 and from 7.0 to 12.0 used differently named DLLs for each version (MSVCR20.DLL, MSVCR70.DLL, MSVCR71.DLL, MSVCP110.DLL, etc.). Applications are required to install the appropriate version,[15] and Microsoft offers Visual C++ Redistributable packages for this purpose, though Windows typically comes with one version already installed.

This runtime library is used by programs written in Visual C++ and a few other compilers (e.g. MinGW). Some compilers have their own runtime libraries.

UCRT

[edit]

With Version 14.0 (Visual Studio 2015), most of the C/C++ runtime was moved into a new DLL, UCRTBASE.DLL, which conforms closely with C99.[16] Universal C Run Time (UCRT) from Windows 10 onwards become a component part of Windows,[16] so every compiler (either non MS, like GCC or Clang/LLVM) can link against UCRT.[17] Additionally, C/C++ programs using UCRTBASE.DLL need to link against another new DLL, the Visual C++ Runtime. At Version 14.0, this was VCRUNTIME140.DLL.[18] The name has the potential to change at future versions, but has not done so as far as of Version 17.0.

Source code for runtime libraries is included in Visual C++[19] for reference and debugging (e.g. in C:\Program Files\Microsoft Visual Studio 11.0\VC\crt\src).

Other runtime libraries

[edit]
  • ATL*.DLLActive Template Library
  • MFC*.DLLMicrosoft Foundation Classes
  • MSVBVM60.DLLVisual Basic 6.0 Virtual Machine (Visual Basic.NET programs require .NET Framework instead)
  • VCOMP*.DLL – Microsoft OpenMP runtime
  • VCRUNTIME*.DLL – Microsoft Visual C++ Runtime, for MSVC 14.0+
  • MSVCIRT.DLL – Microsoft C++ Library, contains the deprecated C++ classes from <iostream.h> (note the file extension) for MS C 9 and 10 (MSVC 2.x, 4.x) (Back then, the draft C++ Standard Library was integrated within MSVCRT.DLL. It was split up with the release of Visual C++ 5.0)

.NET Framework libraries

[edit]

Programs written in C#, Visual Basic.NET, C++/CLI and other .NET languages require the .NET Framework. It has many libraries (one of them is mscorlib.dll – Multilanguage Standard Common Object Runtime Library, formerly Microsoft Common Object Runtime Library[20]) and so-called assemblies (e.g. System.Windows.Forms.dll).

See also

[edit]

References

[edit]
  1. ^ Eilam, Eldad (2011). Reversing: Secrets of Reverse Engineering. John Wiley & Sons. pp. 68–69. ISBN 978-1-118-07976-8.
  2. ^ a b c "Inside Native Applications". Microsoft Learn. Retrieved 2025-08-06.
  3. ^ Russinovich, Mark A. & Solomon, David A. (2009). Windows? Internals. O'Reilly Media. p. 136. ISBN 978-0-7356-3796-2.
  4. ^ Marceau, Carla & Stillerman, Matt (2006). "Modular behavior profiles in systems with shared libraries". In Neng, Peng; et al. (eds.). Information and Communications Security: 8th International Conference, ICICS 2006 – Raleigh, NC, USA, December 4–7, 2006 – proceedings. Springer. p. 371. ISBN 978-3-540-49496-6.
  5. ^ "Windows Server 2003 DDK". Microsoft.
  6. ^ a b "Identifying Functions in DLLs". .NET Framework documentation. Microsoft. 2025-08-06 – via Microsoft Learn.
  7. ^ See also, the documentation for the Wine implementation of GDI32.DLL: Wine API: gdi32.dll
  8. ^ Yuan, Feng (2001). Windows graphics programming: Win32 GDI and DirectDraw. Prentice Hall Professional. p. 71. ISBN 978-0-13-086985-2.
  9. ^ "Common Dialog Box Library - Win32 apps". Microsoft Learn. Retrieved 2025-08-06.
  10. ^ Microsoft (8 October 2009). "How RPC Works: Remote Procedure Call (RPC) | Microsoft Learn". Retrieved 11 September 2023.
  11. ^ "WD: What is a Scrap (.shs) file?". Microsoft Knowledge Base. Archived from the original on 2025-08-06.
  12. ^ Raymond Chen. "Windows Confidential: Scrapping the Scraps". Retrieved 2025-08-06.
  13. ^ "VBS.Stages.A". Symantec. Archived from the original on November 10, 2006.
  14. ^ "How to open SHS files". Retrieved 2025-08-06.
  15. ^ "C Run-Time Libraries". Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  16. ^ a b "Upgrade your code to the Universal CRT".
  17. ^ "MSYS2 - Environments".
  18. ^ "C++ binary compatibility 2015-2022". 30 January 2025.
  19. ^ "Source Code for the C Run-Time Functions". 15 September 2006.
  20. ^ "What does the "ms" in "mscorlib" stand for - hint: It's not "Microsoft"". 31 January 2004.
[edit]
包馄饨用猪肉什么部位 脂肪肝吃什么食物 农转非是什么意思 吃什么药会死 天乙是什么意思
脂肪肝吃什么食物 煦字五行属什么 为什么一睡觉就做梦 魂穿是什么意思 婴儿老是放屁是什么原因
model是什么牌子 宋朝后面是什么朝代 艾灸肚脐眼有什么好处 甲氧氯普胺片又叫什么 湿热吃什么中药
嗯呢是什么意思 实证是什么意思 全身出虚汗多是什么原因造成的 经常口腔溃疡挂什么科 月经期间同房有什么危害
晚上喝红酒有什么好处和坏处hcv7jop6ns1r.cn 属猪的五行属什么hcv7jop4ns6r.cn 冰心的原名是什么hcv9jop4ns0r.cn 海狗是什么动物hcv7jop5ns6r.cn 梦见狗咬我是什么意思hcv8jop1ns1r.cn
天秤女和什么座最配对onlinewuye.com 梦到吃蛇肉预示着什么hcv7jop4ns6r.cn 10.21是什么星座hcv8jop3ns2r.cn 淋巴细胞比率低是什么意思hcv9jop7ns0r.cn 1936年是什么年hcv7jop6ns9r.cn
头皮特别痒是什么原因hcv9jop5ns8r.cn 什么叫主动脉硬化hcv8jop5ns7r.cn 右眼一直跳什么情况hcv9jop4ns4r.cn 威化是什么意思ff14chat.com 什么是痔疮hcv7jop5ns5r.cn
莲子和什么搭配最好hanqikai.com 指背煞是什么意思hcv9jop0ns3r.cn 咖啡有什么功效hcv9jop1ns6r.cn 肝斑一般在脸上的什么地方hcv9jop5ns7r.cn 头孢治什么hcv8jop0ns5r.cn
百度