// sensorsutils.h
ULONG CollectionsListGetSerializedSize(
[in] const PSENSOR_COLLECTION_LIST Collection
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine returns the larger of the two sizes to provide for sufficient buffer sizes to accommodate passing the collection list across processes that can have different bit-ness values (e.g. 32 bit <-> 64 bit):
Collection [in]Pointer to a collection list.
This function returns a ULONG that represents the serialized data size.