WindowProc typedef Null safety

WindowProc = LRESULT Function(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

Application-defined callback function that processes messages sent to a window.

Implementation

typedef WindowProc = LRESULT Function(
    HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);