Share via


IUrlAccessor::GetCLSID Method

Gets the CLSID for the document type of the URL item being processed.

Syntax

HRESULT GetCLSID(      
    CLSID *pClsid
);

Parameters

  • pClsid
    [out]  Receives a pointer to the CLSID for the document type of the URL item being processed.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

If this information is not available, you can return E_NOTIMPL or E_FAIL.