Called by MSHTML to obtain the name of the selection type.
HRESULT retVal = object.GetTypeDetail(pTypeDetail);
BSTR that specifies the name of the selection type.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
You should implement this method to provide the name of a selection type that will be returned by IHTMLSelectionObject2::typeDetail.
This method allows your host application to provide the name of a selection type when implementing a custom selection mechanism.
MSHTML will return a value of
undefined if the host does not implement this method.