CollectionsListAllocateBufferAndSerialize - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorsutils.h

NTSTATUS CollectionsListAllocateBufferAndSerialize(
  [in]  const PSENSOR_COLLECTION_LIST SourceCollection,
  [out] ULONG                         *pTargetBufferSizeInBytes,
  [out] BYTE                          **pTargetBuffer
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sensorsutils-collectionslistallocatebufferandserialize)

CollectionsListAllocateBufferAndSerialize function

Description

This routine allocates a buffer and then serializes a sensor collection list to it. On success, callers must use SerializationBufferFree to free the buffer.

Parameters

SourceCollection [in]

Pointer to a collection list.

pTargetBufferSizeInBytes [out]

The allocated buffer size (in bytes).

pTargetBuffer [out]

Pointer to the allocated buffer, to hold the serialized data.

Return value

This function returns NTSTATUS.

Remarks

See also