Expand description
Application Programming Interface for Windows (APIW) is a functional specification of the Microsoft Windows application programming interface, published as ECMA-234 in 1995.
This crate tries its best to faithfully provided the original interface
defined within the specification, the implementation is based on the awesome
windows-sys crate provided by Microsoft for the Rust community. It is well
known that some of the functions has been deleted after the specification is
published over the years, sometimes replaced by something else (usually with
similiar namings!), so we also included those functions within this crate
too.
Also, for the completeness of the EMF representable graphics subsystem
operations, we expanded the API surface of graphics_subsystem feature to
also include those operations added since then. EMF stands for Enhanced
Metafile Format, an EMF metafile is a sequence of variable-length records
that contain drawing commands, object definitions, and graphics properties
to render a graphical image on any output device. Thus those drawing
commands are provided as the major part of the graphics_subsystem. See the
[MS-EMF] document supplied as part of the Microsoft Open Specifications
collection for more details about it.
Modules§
- windows_
subsystem - Section 2 - Windows Subsystem (6-167)
- graphics_
subsystem - Section 3 - Graphics Subsystem (168-304)
- system_
services - Section 4 - System Services (305-402)
- application_
support_ functions - Section 5 - Application Support Functions (403-444)
- extensions
- Annex B - Unsupported Windows Functions (provided here as extensions)
- all_
data_ structures - Annex C - Data Structures
- all_
messages - Annex D - Window Messages
- all_
control_ notifications - Annex E - Control Notifications
- all_
window_ styles - Annex F - Window Styles
- all_
macros - Annex G - Macros (experimental)
- all_
binary_ raster_ ops - Annex H - Binary Raster Operations
Macros§
- DECLARE_
HANDLE G.1DECLARE_HANDLE- FIELDOFFSET
G.3FIELDOFFSET- GetB
Value G.4GetBValue- GetG
Value G.5GetGValue- GetR
Value G.6GetRValue- HIBYTE
G.7HIBYTE- HIWORD
G.8HIWORD- LOBYTE
G.9LOBYTE- LOWORD
G.11LOWORD- MAKEINTATOM
G.12MAKEINTATOM- MAKEINTRESOURCE
G.13MAKEINTRESOURCE- MAKELONG
G.14MAKELONG- MAKELPARAM
G.16MAKELPARAM- MAKELRESULT
G.17MAKELRESULT- PALETTEINDEX
G.22PALETTEINDEX- PALETTERGB
G.23PALETTERGB- RGB
G.24RGB