benilla-re systems structs docs

CGxDeviceD3d::CreateWindow

function · gx · host

Address
0x598b50 · 359 bytes, up to 0x598cb6
Signature
uint32_t __thiscall (CGxDeviceD3d *this, void *format)
Meaning
Creates the device window with the style and size the format asks for and shows it
Confidence
verified, proof one
Finding
gx/device#direct3d-window

Finding: Direct3D window in gx: the device

0x598b50(format) creates the window with CreateWindowExA(WS_EX_APPWINDOW, "GxWindowClassD3d", ...). Full screen (format byte +7 clear) uses style 0x86080000. Windowed uses 0x06cf0000, or 0x90000000 (popup, visible) when byte +9 is set. A windowed overlapped window with a size has the size grown by AdjustWindowRectEx to the outer size; a popup takes the screen size from GetSystemMetrics, at position (0, 0), and an overlapped one the top-left of the primary monitor's work area. A zero size becomes CW_USEDEFAULT. The window is shown at once (ShowWindow, 1).

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.