Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a lightweight, read-only representation of this knowledge object that can be used for fast comparisons.
Syntax
HRESULT GetKnowledgeCookie(
[out] IUnknown **ppKnowledgeCookie
);
Parameters
[out] ppKnowledgeCookie
A lightweight, read-only representation of this knowledge object that can be used for fast comparisons.
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
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.
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 |