SerializationBufferAllocate function (sensorsutils.h)
Exported memory allocation function for allocating a serialized buffer.
Syntax
NTSTATUS SerializationBufferAllocate(
[in] ULONG SizeInBytes,
[in/out] BYTE **pBuffer
);
Parameters
[in] SizeInBytes
The size (in bytes) of the buffer to allocate.
[in/out] pBuffer
Pointer to the buffer to allocate.
Return value
This function returns the following NTSTATUS codes:
- STATUS_NO_MEMORY if there is no more memory.
- STATUS_SUCCESS on success.
Requirements
Requirement | Value |
---|---|
Header | sensorsutils.h |