ISyncKnowledge2::CompareToKnowledgeCookie method (winsync.h)
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
[in] pKnowledgeCookie
The knowledge cookie to compare against this object.
[out] pResult
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 code | Description |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
Remarks
This method can be used when the performance of the knowledge comparison operation is especially important.
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 |