[][src]Crate fenestroj

Easier wrappers for Win32 API stuff, safe when possible.

Structs

Atom

Newtype of ATOM.

CreateWindowExWRequest

Args for with create_window_ex

EdgeRect

Rect that stores four edge locations.

ErrorCode

Newtype for an error code value.

Point

Laid out like POINT

PointSizeRect

Rect that stores a corner point as well as a width and height.

StretchDIBitsArgs

Use with stretch_di_bits

WinClassW

Rusty version of WNDCLASSW

Enums

DibColors

Describes the color scheme of some Device Independent Bits.

RasterOp

Common raster operations, See the parameters of BitBlt

StdHandle

The the standard handles of a process.

Functions

adjust_window_rect

See AdjustWindowRect

begin_paint

See BeginPaint

create_window_ex

See CreateWindowExW

dispatch_message

See DispatchMessageW

end_paint

See EndPaint

get_client_rect

See GetClientRect

get_console_mode

Obtains info about a console's mode

get_cursor_pos

See GetCursorPos

get_dc

See GetDC

get_device_caps

See GetDeviceCaps

get_last_error

The calling thread's last-error code.

get_message

See GetMessageW

get_module_handle

See GetModuleHandleW

get_std_handle

Obtains one of the process's standard handles.

local_free

Frees/invalidates a Local memory handle.

peek_message

See PeekMessageW

post_quit_message

See PostQuitMessage

query_performance_counter

Gets the high resolution performance counter value.

register_class

See RegisterClassW

release_dc

See ReleaseDC

screen_to_client

See ScreenToClient

set_console_mode

Sets a console mode configuration.

set_cursor_pos

See SetCursorPos

set_last_error

Sets the calling thread's last-error code.

set_std_handle

Sets one of the process's standard handles.

stretch_di_bits

See StretchDIBits

translate_message

See TranslateMessage

wide_null

Allocates a utf-16, null-terminated version of the &str given.