REDIVIVUS

Proposals / #1550

Mac GetCapture: void* __cdecl (void) Win32 shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac Win32-shim GetCapture. It reads no args. It loads the current-thread window state from a global; if non-NULL it returns its +0x91c capture window, else 0. The caller ListBox_WndProc 0x000272ef compares the result with its own window (CMP EAX,EDI at 0x000272fe). This matches Win32 HWND GetCapture(void); HWND is not in the Mac DB, so it is typed void*.

Changes 1, applied together

  1. Set prototype mac 0x00030bdf

    signatureundefined GetCapture(void)→void* GetCapture(void)
    conventionunknown→__cdecl