mmeAllocBuffer(3mms) — Subroutines
Name
mmeAllocBuffer --- Allocate memory for data buffers
Syntax
#include <mme/mme_api.h>
void ∗ mmeAllocBuffer(size_t size)
Arguments
size_t size
Specifies the amount of memory (in bytes) to allocate.
Description
The mmeAllocBuffer function allocates memory to be used for buffers containing raw data being passed to or from devices through the multimedia API. If the connection supports shared memory, then a shared memory segment is allocated.
Extensions
The mmeAllocBuffer function is a Digital extension to the Microsoft multimedia API specification.
Return Values
Returns a pointer to the memory that was allocated if the function is successful; otherwise, it returns a null pointer.