C WinAPI is the core set of Microsoft programming interfaces (APIs) available on Microsoft Windows operating systems . The early version was called the Win32 API.
Introduction
C WinAPI is an application programming interface that is used to create Windows applications. To get started, the novice user must download the Windows SDK, formerly known as the Platform SDK.
The SDK (Software Development Kit) contains header files, libraries, samples, documentation, and tools that are used to develop applications. The Windows API is designed for the C and C ++ programming languages. This is the most direct way to create applications in the operating system from the company.
C WinAPI can be divided into several areas:
basic services;
security;
graphic arts;
user interface;
multimedia;
Windows shell
network services.
. C WinAPI, , , , , . , , , . , . .
The multimedia component provides tools for working with video, audio and input devices. Shell interface functions allow applications to access the functions provided by the operating system shell. Network services provide access to the network features of Windows.
Components
When creating WinAPI C, you should consider the basic features provided by the Windows API, which can be ordered in seven categories. Let's consider each of them in more detail.
Basic services provide access to the basic system resources available on Windows. Examples: file system, peripherals, processes, registry access, and exception management system. These functions are stored in kernel.exe, krnl286.exe, or krnl386.exe for 16-bit systems and kernel32.dll and advapi32.dll for 32-bit systems.
, . gdi.exe 16- gdi32.dll 32- .
, , , . user.exe 16- user32.dll comctl32.dll 32- . XP comctl32.dll.
— , . comdlg.dll 16- comdlg32.dll 32- .
Windows Shell — WinAPI, , .
. NetBIOS, Winsock, RPC. — NetDDE.
Win16, Win32 Win32s , Windows.
Win32, Win16, 1993 32- Windows, Windows NT, 2000, 95. : Kernel32.dll, User32.dll GDI32.dll2. Win32 Windows, , , .
Win32 , , , , , .
C WinAPI — Windows. , , , , , . WinAPI MSDN (Microsoft Developer Network) Windows C. WinAPI (DLL): , kernel32.dll, user32.dll, gdi32.dll shell32.dll . Windows API: Wine ReactOS.
Windows API — . . . .
Pelles C
Pelles C — C (IDE) C. 32- Windows (x86) 64- Windows (x64). C99, C11. Pelles C , , . . . SDK, .
Windows API, Microsoft. , , C WinAPI : fatal error #1014: #error: "No target architecture" (« »). Microsoft, «». « Microsoft».
MSDN
MSDN (Microsoft Developer Network) Windows. , Microsoft. API Windows.
DLL WinAPI C
, , , . commctrl.dll 16- comctl32.dll .
DLL — , Windows. DLL , , . . DLL , MSIL Disassembler DLL Lib 3.00.
WinAPI C
WinAPI Windows , , .
WinAPI, Windows. Linux, . :
MinGW/Cygwin — C WinAPI, Windows. . , .
IDE, , — , GUI . , MinGW, Windows.
Microsoft Visual Studio (MSVS) Microsoft IDE , Windows, , , . .
Windows , , API .