티스토리 뷰
Windows API = WinAPI = Win32Api ....
윈도우 운영체제 에서 사용 가능한 마이크로소프트의 Application Programming Interfaces모든 윈도우 프로그램은 Windows api와 상호작용을 한다.
Developer support is available in the form of a software development kit, Micorsoft Windows SDK
and its predecessors Platform SDK, and .NET FrameworkSDK, are software development kits(SDKs) from Microsoft that contain documentation, header files, libraries samples and tools required to develop applications for Microsoft Windows and .NET FrameWofk.
The Windows API(Win32) is focused mainly on the programming language C in that its exosed functions and data structures are descrived in that language in recent versions of its documentation. However, the API may be used by any programming language compiler or assembler able to handle the (well-defined) low level data structures along with the prescribed calling conventions for calls and callbacks. Similarly, the internal implementation of the API's function has been developed in in several languages, historically. Despite the fact that C is not an object-oriented programming language, the Windows API and Windows have both historically been described as object-oriented.There have also been many wrapper classes and extensions (from Microsoft and others) for object-oriented languages that make this object-oriented structure more explict( Microsoft Foundation Class Library(MFC), Visual Component Library(VCL), GDI+, etc.). For instance, Windows 8 provides the Window API Ant the WinRT API, which is implemented in C++ and is object-oriented by design.
api가 제공하는 함수들 8개 카테고리로
Base Services
Provide access to the basic resourecs available to a Windows system.
Included are things like file systems, devices, processes, threads, and error hanling.
These functions reside in...
16-bit Windows - kernel.exe, krn1286.exe , krn1386.exe files
32-bit Windows - kernel132.dll
Advenced Services
Provide access to function beyond the kernel. Included are things like the Windows registry, whutdown/ restart the system(or abort), start/ stop/ create a Windows service, manage user accounts.
These functions reside in...
32-bit Windows - advapi32.dll
Graphics Device Interface ( GDI )
Provides functions to output graphics content to monitors, printers, and other output devices.
These functions reside in...
16-bit Windows - gdi.exe
32-bit Windows - gdi32.dll
in user-mode.
( kernel-mode GDI support is.. provided by win32k.sys which communicated directly with the graphics driver. )
User Interface
Provides functions to create and manage screen windows and most basic controls, such as buttons and scrollbars, receive mouse and keyboard input, and other functions associated with graphical user interface ( GUI ) part of Windows.
These functions reside in...
16-bit Windows - user.exe
32-bit Windows - user32.dll
Since Windows XP versions, the basic controls reside in comct132.dll , together with the common controls (Common Control Library).
Common Dialog Box Library
provides applications the standard dialog boxes to open and save files, choose color and font, etc.
These functions reside in...
16-bit Windows - commdlg.dll
32-bit Windows - commdlg32.dll
(it is grouped under the User Interface category of the API.)
Common Control Library
Gives applications access to some advanced controls provides by the operating system.
(Include things like status bars, progress bars, toolbars and tabs.)
These functions reside in...
16-bit Windows - commctrl.dll
32-bit Windows - comct132.dll
(it is grouped under the User Interface category of the API.)
Windows Shell
Component of the Windows API allows applications to access functions provided by the operating system shell and to change and enhance it.
These functions reside in...
16-bit Windows - shell.dll
32-bit Windows - shell132.dll
The Shell Lightweight Utility Functions are in shlwapi.dll
(it is grouped under the User Interface category of the API.)
Network Services
Give access to the various networking abilities of the operating system. its subcomponents incoude NetBIOS, Winsock, NetDDE, remote procedure call(RPC) and many more.
These functions reside in...
32-bit Windows - netapi32.dll
------------------------------
Multymidea
The classic windows Multimedia API is placed in winmm.dll and contains functions to play sound files, to send and receive MIDI messages, to access joysticks, and to facilitate all other features of the so-called MCI sybsystem op Windows, which originates from the Multimedia Extensions available for Windows 3.0 separately and as an integral part of the operating system since Windows 3.1, at which time they were located in mmysystem.dll.
Apart from that, as part of every Windows version since Windows 95 OSR2, Microsoft have provided the DirectX APIs - a loosely related set of graphics and gaming services, which includes:
Direct2D for hardware-accelerated 2D vector graphics.
Direct3D for hardware-accelerated 3D graphics.
DirectSound for low-level hardware-accelerated sound card access.
DirectInput for communication with input devices such as joysticks and gamepads.
DirectPlay as a muluiplayer gaming infrastructure. This component has been derecated as of DirectX9, and Microsoft no longer recommends its use for game development.
Microsoft also provides several APIs for media encoding and playback:
DirectShow, which builds and runs generic multimedia piplines. It is comparable to the GStreamer framework and often used to render in-game videos and build media players (Windows Media Player is based on it). DirectShow is no longer recommended for game development.
MediaFoundation, a newer digital media API intended to replace DirectShow.
-더보기- Getting Started with DirectX Graphics
-더보기- Direct3D 무엇인가!
-더보기- Direct2D 무엇인가!
-더보기- Direct3D, Direct2D, GDI, GDI+ ... ??
'ComComComCom > API' 카테고리의 다른 글
ESC로 종료하기 (0) | 2017.06.18 |
---|---|
Render환경 만들기 (0) | 2017.06.17 |
DirectX (0) | 2017.06.11 |
[message] WM_TIMER (0) | 2017.06.09 |
WinAPI 틀 (0) | 2017.06.08 |