rust-windows
rust-windows copied to clipboard
work-in-progress Win32/Win64 wrapper for Rust (INACTIVE PROJECT: has no proper goal right now)
COM is implemented as flat vtable structs. For example, ``` interface A { HRESULT DoSomethingA([in] UINT value); } interface B: A { HRESULT DoSomethingB([in] UINT value); } ``` becomes (in...
http://dracony.org/you-owe-yourself-that-readme-file/
Getting a handle and device context for the first monitor is relatively easy: ``` rust let h_wnd_screen = GetDesktopWindow(); let h_dc_screen = GetDC(h_wnd_screen); // do stuff ReleaseDC(h_wnd_screen, h_dc_screen); ``` Getting...