DrgDeleteStrHandle: Difference between revisions
Appearance
Created page with "This function deletes a string handle. ==Syntax== DrgDeleteStrHandle(hstr) ==Parameters== ;hstr (HSTR) - input: The string handle to delete. ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successful completion. :: FALSE - Error occurred. ==Remarks== This function must be used to delete a string handle created by the DrgAddStrHandle function. ==Errors== Possible returns from WinGetLastError: ;PMERR_INVALID_PARAMETERS (0x1208) ==Example Code=..." |
No edit summary |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
;hstr (HSTR) - input: The string handle to delete. | ;hstr ([[HSTR]]) - input: The string handle to delete. | ||
==Returns== | ==Returns== |
Latest revision as of 03:32, 25 April 2025
This function deletes a string handle.
Syntax
DrgDeleteStrHandle(hstr)
Parameters
- hstr (HSTR) - input
- The string handle to delete.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE - Successful completion.
- FALSE - Error occurred.
Remarks
This function must be used to delete a string handle created by the DrgAddStrHandle function.
Errors
Possible returns from WinGetLastError:
- PMERR_INVALID_PARAMETERS (0x1208)
Example Code
#define INCL_WINSTDDRAG /* Direct Manipulation (Drag) Functions */ #include <os2.h> BOOL fSuccess; /* Indicate success or failure */ HSTR Hstr; /* String handle */ fSuccess = DrgDeleteStrHandle (Hstr);