DRAWSTATEPROC typedef callback

DRAWSTATEPROC = Int32 Function(Pointer<NativeType> hdc, IntPtr lData, IntPtr wData, Int32 cx, Int32 cy)

An application-defined callback function that renders a complex image for the DrawState function.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nc-winuser-drawstateproc.

Implementation

typedef DRAWSTATEPROC =
    Int32 Function(Pointer hdc, IntPtr lData, IntPtr wData, Int32 cx, Int32 cy);