SUBCLASSPROC typedef callback

SUBCLASSPROC = IntPtr Function(Pointer<NativeType> hWnd, Uint32 uMsg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)

Defines the prototype for the callback function used by RemoveWindowSubclass and SetWindowSubclass.

To learn more, see learn.microsoft.com/windows/win32/api/commctrl/nc-commctrl-subclassproc.

Implementation

typedef SUBCLASSPROC =
    IntPtr Function(
      Pointer hWnd,
      Uint32 uMsg,
      IntPtr wParam,
      IntPtr lParam,
      IntPtr uIdSubclass,
      IntPtr dwRefData,
    );