This function should be called before calling the DrgQueryStrName function. It is used to determine and allocate the buffer size for the string associated with the string handle. If the input string handle is NULLHANDLE or not valid, a length of 0 is returned.