Allocates memory. This function is application-defined.
typedef LPVOID (*D3DRMMALLOCFUNCTION)(DWORD dwSize);
typedef D3DRMMALLOCFUNCTION *LPD3DRMMALLOCFUNCTION;
Parameters
dwSize
Specifies the size, in bytes, of the memory that will be allocated.
Return Values
Returns the address of the allocated memory if successful, or zero otherwise.
Remarks
Applications might define their own memory-allocation function if the standard C run-time routines do not meet their requirements.