ISyncKnowledge2::GetInspector method (winsync.h)

Returns an object that can be used to retrieve the contents of the knowledge object.

Syntax

HRESULT GetInspector(
  [in]  REFIID riid,
  [out] void   **ppiInspector
);

Parameters

[in] riid

The IID of the requested inspector. Must be IID_ICoreFragmentInspector.

[out] ppiInspector

An object that implements riid, and that can retrieve the contents of the knowledge object.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_NOINTERFACE
riid is not IID_ICoreFragmentInspector.
E_POINTER
Invalid pointer.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncKnowledge Interface

ISyncKnowledge2 Interface