benilla-re systems structs docs

DestroyConsoleDevice

function · console · orchestration

Address
0x63b440 · 26 bytes, up to 0x63b459
Signature
void __cdecl (void)
Meaning
Destroys the device and clears its handle
Confidence
verified, proof one
Finding
console/display#device-creation

Finding: Device creation in console: display

The device is created from a copy of the record by 0x589ac0 with the window procedure 0x42cfe0. On failure the copy is lowered (0x63b380): the multisample count by 2, to at least 1; then, while the colour index is above 0, the depth index down to 4, then the colour index by one with the depth index back at 7 (4 at colour 0). When it cannot be lowered, the second fixed record is tried once and lowered the same way. With no device, or one with fewer than 2 texture units or no streams, the client shows an error (the locale's startup text, else English) and exits.

The derivation is in the doc.

Callers 1

Callees 2

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