CollectionsListAllocateBufferAndSerialize function (sensorsutils.h)
This routine allocates a buffer and then serializes a sensor collection list to it. On success, callers must use SerializationBufferFree to free the buffer.
Syntax
NTSTATUS CollectionsListAllocateBufferAndSerialize(
[in] const PSENSOR_COLLECTION_LIST SourceCollection,
[out] ULONG *pTargetBufferSizeInBytes,
[out] BYTE **pTargetBuffer
);
Parameters
[in] SourceCollection
Pointer to a collection list.
[out] pTargetBufferSizeInBytes
The allocated buffer size (in bytes).
[out] pTargetBuffer
Pointer to the allocated buffer, to hold the serialized data.
Return value
This function returns NTSTATUS.
Requirements
Requirement | Value |
---|---|
Header | sensorsutils.h |