CollectionsListSerializeToBuffer function (sensorsutils.h)

This routine serializes a collection list to the caller-allocated buffer.

Syntax

NTSTATUS CollectionsListSerializeToBuffer(
  const PSENSOR_COLLECTION_LIST SourceCollection,
  ULONG                         TargetBufferSizeInBytes,
  BYTE                          *TargetBuffer
);

Parameters

SourceCollection

[in] Pointer to a collection list.

TargetBufferSizeInBytes

[in] Caller-allocated buffer size (in bytes).

TargetBuffer

[out] Caller-allocated buffer to hold the serialized data.

Return value

This function returns NTSTATUS.

Requirements

   
Header sensorsutils.h