AERT_Allocate function (baseaudioprocessingobject.h)

The AERT_Allocate utility function allocates and locks a segment of memory for use by audio processing objects.

Syntax

HRESULT AERT_Allocate(
  size_t size,
  void   **pMemory
);

Parameters

size

The number of bytes to allocate.

pMemory

A pointer to the allocated memory.

Return value

If the function successfully allocates the requested locked memory, the function returns a value of S_OK. The function returns a value of E_OUTOFMEMORY if it cannot find enough memory to allocate and lock.

Remarks

None

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating system.
Target Platform Universal
Header baseaudioprocessingobject.h
Library Audioeng.lib
DLL Audioeng.dll
IRQL All levels