ISyncKnowledge2::CompareToKnowledgeCookie method

Performs a fast comparison between the specified knowledge cookie and this knowledge object.

Syntax


HRESULT CompareToKnowledgeCookie(
  [in]  IUnknown                           *pKnowledgeCookie,
  [out] KNOWLEDGE_COOKIE_COMPARISON_RESULT *pResult
);

Parameters

pKnowledgeCookie [in]

The knowledge cookie to compare against this object.

pResult [out]

The result of the comparison.

Return value

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

Return codeDescription
S_OK

The method succeeded.

E_POINTER

Invalid pointer.

 

Remarks

This method can be used when the performance of the knowledge comparison operation is especially important.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winsync.h

See also

KNOWLEDGE_COOKIE_COMPARISON_RESULT Enumeration
ISyncKnowledge Interface
ISyncKnowledge2 Interface

 

 

Community Additions

ADD
Show: