RDITEMHDR structure (mmc.h)

The RDITEMHDR structure is introduced in MMC 1.2.

The RDITEMHDR structure is used by the RDCOMPARE structure to specify the type and cookie value of a scope or result item.

Syntax

typedef struct _RDCITEMHDR {
  DWORD      dwFlags;
  MMC_COOKIE cookie;
  LPARAM     lpReserved;
} RDITEMHDR;

Members

dwFlags

A value that specifies whether the item is a scope or result item. If the RDCI_ScopeItem (0x80000000) flag is set, the item is a scope item. Otherwise, the item is a result item.

cookie

The unique identifier of the scope or result item object to be compared as part of the sorting operation.

lpReserved

Reserved for future use.

Remarks

If the snap-in implements the IResultDataCompareEx interface, MMC allocates an RDCOMPARE structure and two RDITEMHDR structures and then calls the snap-ins IResultDataCompareEx::Compare method. After the method returns, MMC releases the three structures it allocated.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header mmc.h

See also

IResultDataCompareEx::Compare

RDCOMPARE