CSIDENTIFIER (Compact 2013)
3/26/2014
This structure uses a GUID to uniquely identify a set, and a set-specific ID to refer to a member within that set.
Syntax
typedef struct {
union {
struct _IDENTIFIER {
GUID Set;
ULONG Id;
ULONG Flags;
};
LONGLONG Alignment;
};
} CSIDENTIFIER, *PCSIDENTIFIER;
Members
- Set
A GUID value that specifies the globally unique set identifier.
- Id
A ULONG value that specifies the set-specific identifier for an item within the set.
- Flags
A ULONG value that specifies values used for various set types, such as properties and methods. Zero when not used.
Remarks
The CSEVENT, CSMETHOD, and CSPROPERTY structures are aliases for the CSIDENTIFIER structure. As such, their definitions are identical.
The use of an ID within the set allows one to perform a single large comparison for a set identifier, then smaller quick comparison (for example, by using a switch statement for identifiers within a set). For example, a unique GUID identifier refers to a property set, and the short ID refers to properties within that set.
Requirements
Header |
cs.h |