D3DRMREALLOCFUNCTION

Reallocates memory. This function is application-defined.

typedef LPVOID (*D3DRMREALLOCFUNCTION)(LPVOID lpArg,

DWORD dwSize);

typedef D3DRMREALLOCFUNCTION *LPD3DRMREALLOCFUNCTION;

Parameters

lpArg

Address of application-defined data.

dwSize

Size, in bytes, of the reallocated memory.

Return Values

Returns an address of the reallocated memory if successful, or zero otherwise.

Remarks

Applications may define their own memory-reallocation function if the standard C run-time routines do not meet their requirements.