The libraries in this section each implement various subsets of the Win32 API.
KERNEL32.DLL 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.
GDI32.DLL 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. 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.
USER32.DLL 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 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 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'.
WS2_32.DLL 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 ADVAPI32.DLL, the Advanced Windows 32 Base API DLL, provides security calls and functions for manipulating the
Windows Registry.
NETAPI32.DLL NETAPI32.DLL provides functions for querying and managing network interfaces.
OLE32.DLL OLE32.DLL provides the
Component Object Model, as well as
Object Linking and Embedding. == Other APIs ==