KNOWLEDGE_COOKIE_COMPARISON_RESULT enumeration (winsync.h)

Represents the possible results when a knowledge cookie is compared with a knowledge object by using ISyncKnowledge2::CompareToKnowledgeCookie.

Syntax

typedef enum __MIDL___MIDL_itf_winsync_0000_0000_0011 {
  KCCR_COOKIE_KNOWLEDGE_EQUAL = 0,
  KCCR_COOKIE_KNOWLEDGE_CONTAINED,
  KCCR_COOKIE_KNOWLEDGE_CONTAINS,
  KCCR_COOKIE_KNOWLEDGE_NOT_COMPARABLE
} KNOWLEDGE_COOKIE_COMPARISON_RESULT;

Constants

 
KCCR_COOKIE_KNOWLEDGE_EQUAL
Value: 0
The knowledge cookie is equal to the specified knowledge.
KCCR_COOKIE_KNOWLEDGE_CONTAINED
The knowledge cookie is contained by the specified knowledge.
KCCR_COOKIE_KNOWLEDGE_CONTAINS
The knowledge cookie contains the specified knowledge.
KCCR_COOKIE_KNOWLEDGE_NOT_COMPARABLE
The knowledge cookie cannot be compared to the specified knowledge.

Remarks

A knowledge cookie is a lightweight, read-only representation of knowledge that can be used for fast comparisons when performance is especially important.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header winsync.h

See also

ISyncKnowledge2 Interface

Windows Sync Enumerations