[−][src]Crate porcupine
This is intended to be a safe Rust wrapper around the Win32 API, with an emphasis on the graphical WinUser part of the API.
Re-exports
pub extern crate winapi; |
pub use bitmap::*; |
pub use commctrl::*; |
pub use dc::*; |
pub use draw::*; |
pub use module::*; |
pub use msg::*; |
pub use window::*; |
Modules
bitmap | |
commctrl | |
dc | |
draw | Pens and brushes |
module | |
msg | |
prelude | |
window | |
winuser | USER procedure declarations, constant definitions and macros |
Enums
Error | The error used by the Porcupine API. |
HWND__ | |
Win32Function | Win32 functions that are capable of erroring out. |
Functions
cursor_pos | Get the current location of the mouse cursor on screen. |
eurect_to_winrect | Utility function to convert a Euclid rect to a Windows rect. |
wboolify | Utility function to convert Rust bool to Win32 BOOL |
win32_error | Get the last Win32 error, if applicable. |
Type Definitions
HWND | |
LPARAM | |
LRESULT | |
Result | A result, for conveinence. |
UINT | |
WPARAM |