D3DFreeGraphicsMemory

Frees graphics memory. This method is deprecated from the Februrary 2014 XDK. Use XMemFree or VirtualFree instead.

Syntax

HRESULT D3DFreeGraphicsMemory(
         VOID *pAddress
)  

Parameters

pAddress
Type: VOID *

[in] The CPU virtual address associated with a graphics allocation, which was returned by a successful call to D3DAllocateGraphicsMemory.

Return value

Type: HRESULT 

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).