Jump to content

WinQueryWindowThunkProc

From EDM2

This function queries the pointer-conversion procedure associated with a window.

Syntax

WinQueryWindowThunkProc(hwnd)

Parameters

hwnd (HWND) - input
Window handle.

Returns

thunkpr (PFN) - returns
Pointer-conversion procedure identifier.
NULL
No pointer-conversion procedure is associated with this window.
Other
Identifier of the pointer-conversion procedure associated with this window.

Example Code

This example shows how to get pointer conversion procedure associated with the frame window.

#define INCL_WINTHUNKAPI
#include <os2.h>

HWND hwndFrame;
PFN  pthnkproc;

pthnkproc = WinQueryWindowThunkProc(hwndFrame);

Related Functions