PFND3DDDI_CREATECONTEXTVIRTUALCB callback function

pfnCreateContextVirtualCb should be used with contexts that support virtual addressing.

Syntax

PFND3DDDI_CREATECONTEXTVIRTUALCB Pfnd3dddiCreatecontextvirtualcb;

HRESULT Pfnd3dddiCreatecontextvirtualcb(
  HANDLE hDevice,
  D3DDDICB_CREATECONTEXTVIRTUAL *Arg2
)
{...}

Parameters

hDevice

A handle to the display device.

Arg2

pData [in, out]

A pointer to a D3DDDICB_CREATECONTEXTVIRTUAL structure that describes the context to create.

Return Value

Return code Description
S_OK The context was successfully created.
E_OUTOFMEMORY Could not allocate memory that was required for the operation to complete.
E_INVALIDARG Parameters were validated and determined to be incorrect.

 

This function might also return other HRESULT values.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)