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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for