// hidpi.h
typedef struct _HIDP_LINK_COLLECTION_NODE {
USAGE LinkUsage;
USAGE LinkUsagePage;
USHORT Parent;
USHORT NumberOfChildren;
USHORT NextSibling;
USHORT FirstChild;
ULONG CollectionType : 8;
ULONG IsAlias : 1;
ULONG Reserved : 23;
PVOID UserContext;
} HIDP_LINK_COLLECTION_NODE, *PHIDP_LINK_COLLECTION_NODE;
View the official Windows Driver Kit DDI referenceNo description available.
The HIDP_LINK_COLLECTION_NODE structure contains information about a link collection in a top-level collection's link collection array.
LinkUsageSpecifies the usage ID of a top-level collection.
LinkUsagePageSpecifies the usage page of the collection.
ParentSpecifies the index of the collection's parent collection. If the collection has no parent, Parent is zero.
NumberOfChildrenSpecifies the number of child collections that the collection contains.
NextSiblingSpecifies the index of the collection's immediate sibling. If the collection has no sibling, NextSibling is zero.
FirstChildSpecifies the index of the collection's first child collection. If the collection has no children, FirstChild is zero.
CollectionTypeSpecifies the type of collection item.
IsAliasSpecifies, if TRUE, that this collection is an aliased collection. Otherwise, if FALSE, the collection is not aliased.
ReservedReserved for internal system use.
UserContextPointer to application-specific information.
The HidP_GetLinkCollectionNodes routine returns a top-level collection's link collection array. The indices specified in a link collection node are indices in the collection's link collection array.