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