Partager via


HidP_GetLinkCollectionNodes (Windows CE 5.0)

Send Feedback

This function returns a top-level collection's link collection array.

NTSTATUS HidP_GetLinkCollectionNodes(  PHIDP_LINK_COLLECTION_NODE LinkCollectionNodes,  PULONG LinkCollectionNodesLength,  PHIDP_PREPARSED_DATA PreparsedData);

Parameters

  • LinkCollectionNodes
    [out] Pointer to a caller-allocated array of HIDP_LINK_COLLECTION_NODE structures in which HidP_GetLinkCollectionNodes returns a top-level collection's link collection array.
  • LinkCollectionNodesLength
    [in, out] On input, the length, in array elements, of the LinkCollectionNodes buffer. On output, the function sets LinkCollectionNodesLength to the number of entries in the array that it set.
  • PreparsedData
    [in] Pointer to the preparsed data of the top-level collection for which this function returns a link collection array.

Return Values

Returns HIDP_STATUS_SUCCESS if the function successfully returned the specified collection's link collection array. Returns HIDP_STATUS_BUFFER_TOO_SMALL if the LinkCollectionNodes buffer is too small to hold the entire link collection array.

Remarks

The NumberLinkCollectionNodes member of a collection's HIDP_CAPS structure specifies the required length of the LinkCollectionNodes buffer.

If HidP_GetLinkCollectionNodes returns the status value HIDP_STATUS_BUFFER_TOO_SMALL, it also sets LinkCollectionNodesLength to the length, in array elements, required to hold the link collection nodes information.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Hidpi.h.
Link Library: Hidparse_lib.lib.

See Also

HidP_GetCaps | HIDP_CAPS | HIDP_LINK_COLLECTION_NODE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.