DrgQueryDraginfoPtrFromHwnd - Example Code

This example uses DrgQueryDraginfoPtrFromHwnd to obtain a pointer to the DRAGINFO structure allocated by the given window.

#define  INCL_WINSTDDRAG
#include <os2.h>

HWND       hwndWindow;   /* Window handle */
PDRAGINFO  pinfo;        /* Pointer to a DRAGINFO structure */

pdinfo=DrgQueryDraginfoPtrFromHwnd(hwndWindow);
If (pdinfo) {
  .
  .
  .
}


[Back: DrgQueryDraginfoPtrFromHwnd - Remarks]
[Next: DrgQueryDraginfoPtrFromHwnd - Topics]