CollectionsListGetFillableCount function (sensorsutils.h)

Returns the number of elements a SENSOR_COLLECTION_LIST buffer of a certain size can possibly hold.

Syntax

ULONG CollectionsListGetFillableCount(
  ULONG BufferSizeBytes
);

Parameters

BufferSizeBytes

Size of the buffer in bytes.

Return value

The number of SENSOR_VALUE_PAIR that is acceptable for a SENSOR_COLLECTION_LIST of BufferSizeBytes size.

Requirements

Requirement Value
Header sensorsutils.h