PFND3DDDI_UPDATEALLOCATIONPROPERTYCB callback function (d3dumddi.h)

The pfnUpdateAllocationPropertyCb functions updates the property of an allocation without creating a new allocation.

Syntax

PFND3DDDI_UPDATEALLOCATIONPROPERTYCB Pfnd3dddiUpdateallocationpropertycb;

HRESULT Pfnd3dddiUpdateallocationpropertycb(
  HANDLE hDevice,
  D3DDDI_UPDATEALLOCPROPERTY *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device associated with the allocation

unnamedParam2

pUpdateAllocationProperty [in, out]

A pointer to a D3DDDI_UPDATEALLOCPROPERTY structure that describes how to update the allocation with the desired properties.

Return value

pfnUpdateAllocationPropertyCb returns one of the following values:

Return code Description
STATUS_SUCCESS The properties were successfully updated. The driver can start using the allocation with its new property immediately. PagingFenceValue is invalid, though the driver shouldn't wait on it.
STATUS_PENDING The request has successfully been queued to VidMm and is being processed. The driver must synchronize against the returned PagingFenceValue before using the allocation with its new property. Note that if the driver request is invalid it may still fail at a later point, in which case the device will be put in error.
E_INVALIDARG Invalid call with bad arguments provided.
E_OUTOFMEMORY Desired supported memory segment is full.
E_FAIL An unknown error has occurred.

Requirements

Requirement Value
Target Platform Windows
Header d3dumddi.h