CollectionsListSerializeToBuffer function (sensorsutils.h)

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

Syntax

NTSTATUS CollectionsListSerializeToBuffer(
  [in]  const PSENSOR_COLLECTION_LIST SourceCollection,
  [in]  ULONG                         TargetBufferSizeInBytes,
  [out] BYTE                          *TargetBuffer
);

Parameters

[in] SourceCollection

Pointer to a collection list.

[in] TargetBufferSizeInBytes

Caller-allocated buffer size (in bytes).

[out] TargetBuffer

Caller-allocated buffer to hold the serialized data.

Return value

This function returns NTSTATUS.

Requirements

Requirement Value
Header sensorsutils.h