Partager via


HIDP_LINK_COLLECTION_NODE (Compact 2013)

3/26/2014

This structure contains information about a link collection in a top-level collection's link collection array.

Syntax

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;

Members

  • LinkUsage
    Usage identifier of a top-level collection.
  • LinkUsagePage
    Usage page of the collection.
  • Parent
    Index of the collection's parent collection. If the collection has no parent, Parent is zero.
  • NumberOfChildren
    Number of child collections that the collection contains.
  • NextSibling
    Index of the collection's immediate sibling. If the collection has no sibling, NextSibling is zero.
  • FirstChild
    Index of the collection's first child collection. If the collection has no children, FirstChild is zero.
  • CollectionType
    Type of collection item.
  • IsAlias
    Aliased indicator. If TRUE, that this collection is an aliased collection. If FALSE, the collection is not aliased.
  • Reserved
    Reserved.
  • UserContext
    Pointer to application-specific information.

Remarks

The HidP_GetLinkCollectionNodes function returns a top-level collection's link collection array. The indexes specified in a link collection node are indexes in the collection's link collection array.

Requirements

Header

hidpi.h

See Also

Reference

HID Parser Structures
HIDP_BUTTON_CAPS
HidP_GetLinkCollectionNodes
HIDP_VALUE_CAPS