CollectionsListGetSerializedSize function (sensorsutils.h)
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):
- The architecture-independent size of the entire collection list, including size of memory blocks that are pointed by embedded pointers.
- The RPC serialized size of the collection list.
ULONG CollectionsListGetSerializedSize( const PSENSOR_COLLECTION_LIST Collection );
[in] Pointer to a collection list.
This function returns a ULONG that represents the serialized data size.