This function gets the contents of a string associated with a string handle.
#define INCL_WINSTDDRAG
#include <os2.h>
HSTR hstr; /* The handle must have been created with DrgAddStrHandle. */
ULONG cbBuffer; /* Maximum number of bytes to copy into pBuffer. */
PSZ pBuffer; /* Buffer where the null-terminated string is returned. */
ULONG ulLength; /* Number of bytes written to pBuffer. */
ulLength = DrgQueryStrName(hstr, cbBuffer,
pBuffer);