Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ISyncKnowledge2::GetKnowledgeCookie

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


HRESULT GetKnowledgeCookie(
  IUnknown ** ppKnowledgeCookie);

ppKnowledgeCookie

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

  • S_OK

  • E_POINTER

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.

Show:
© 2015 Microsoft