win32gui.CallWindowProc

int = CallWindowProc(wndproc, hwnd , msg , wparam , lparam )

Parameters

wndproc : int

The wndproc to call - this is generally the return value of SetWindowLong(GWL_WNDPROC)

hwnd : PyHANDLE

Handle to the window

msg : int

A window message

wparam : int/str

Type is dependent on the message

lparam : int/str

Type is dependent on the message