Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>long pascal (pascal *winsetwinproc(hwnd hwnd, long (pascal *pffunc))())</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
long pascal (pascal *WinSetWinProc(HWND hWnd, long (pascal *pfFunc))())

  This function sets the window procedure associated with a window.
Every window has a default window procedure when it is created. You
should install your own window procedure if you want to process
messages meant for that wndow in a way which is different from the
default window procedure.

Parameters
  hWnd is the handle of the window whose window procedure we want to set.
  pfFunc is a pointer to the new window procedure. The window
   procedure must be defined as follows :
    long pascal pfFunc(HWND hWnd, WORD message, WORD wparam, DWORD
                        lParam)

Returns
  The address of the old window procedure. NULL is returned if the
window handle was invalid.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson