DrgQueryDraginfoPtrFromDragitem: Difference between revisions
Appearance
Created page with "This function is called to obtain a pointer to the DRAGINFO structure associated with a given DRAGITEM structure. ==Syntax== DrgQueryDraginfoPtrFromDragitem(pditem) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to a DRAGITEM structure whose corresponding DRAGINFO is to be returned. ==Returns== ;pDraginfo (PDRAGINFO) - returns: Pointer to the DRAGINFO structure for the specified pditem. :: A return value of NULL indicates that a DRAGITEM structure was not found...." |
Tag: Manual revert |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 30: | Line 30: | ||
* [[DrgQueryDraginfoPtr]] | * [[DrgQueryDraginfoPtr]] | ||
* [[DrgQueryDraginfoPtrFromHwnd]] | * [[DrgQueryDraginfoPtrFromHwnd]] | ||
[[Category:Drg]] | [[Category:Drg]] |
Latest revision as of 18:52, 9 April 2025
This function is called to obtain a pointer to the DRAGINFO structure associated with a given DRAGITEM structure.
Syntax
DrgQueryDraginfoPtrFromDragitem(pditem)
Parameters
- pditem (PDRAGITEM) - input
- Pointer to a DRAGITEM structure whose corresponding DRAGINFO is to be returned.
Returns
- pDraginfo (PDRAGINFO) - returns
- Pointer to the DRAGINFO structure for the specified pditem.
- A return value of NULL indicates that a DRAGITEM structure was not found.
Example Code
#define INCL_WINSTDDRAG #include <os2.h> PDRAGINFO pdinfo; /* Pointer to a DRAGINFO structure */ PDRAGITEM pdragitem; /* Pointer to a DRAGITEM structure */ pdinfo=DrgQueryDraginfoPtrFromDragitem(pdragitem); if (pdinfo) { . . . }