// sensorsutils.h
NTSTATUS SerializationBufferAllocate(
[in] ULONG SizeInBytes,
[in/out] BYTE **pBuffer
);
View the official Windows Driver Kit DDI referenceNo description available.
Exported memory allocation function for allocating a serialized buffer.
SizeInBytes [in]The size (in bytes) of the buffer to allocate.
pBuffer [in/out]Pointer to the buffer to allocate.
This function returns the following NTSTATUS codes: