PFND3DDDI_DISCARD - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_DISCARD Pfnd3dddiDiscard;

HRESULT Pfnd3dddiDiscard(
  HANDLE hDevice,
  const D3DDDIARG_DISCARD *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_discard)

PFND3DDDI_DISCARD callback function

Description

Discards (evicts) a set of subresources from video display memory. Implemented by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_DISCARD structure that defines the set of subresources that is to be discarded.

Return value

Returns S_OK if successful, or an appropriate error result if the operation is not successful.

See also

D3DDDIARG_DISCARD

D3DDDI_DEVICEFUNCS