Udostępnij za pośrednictwem


ISyncKnowledge2::GetKnowledgeCookie

Gets a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.

HRESULT GetKnowledgeCookie(
  IUnknown ** ppKnowledgeCookie);

Parameters

  • ppKnowledgeCookie
    [out] Returns a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.

Return Value

  • S_OK

  • E_POINTER

Remarks

A knowledge cookie can be used for fast comparisons with other knowledge objects by using ISyncKnowledge2::CompareToKnowledgeCookie when the performance of the comparison operation is especially important.

See Also

Reference

ISyncKnowledge2 Interface