DrgDeleteStrHandle
Appearance
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);