IUrlAccessor::GetCLSID method (searchapi.h)

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

Syntax

HRESULT GetCLSID(
  [out] CLSID *pClsid
);

Parameters

[out] pClsid

Type: CLSID*

Receives a pointer to the CLSID for the document type of the URL item being processed.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0