PFND3DDDI_CREATECONTEXTVIRTUALCB callback function (d3dumddi.h)
pfnCreateContextVirtualCb should be used with contexts that support virtual addressing.
Syntax
PFND3DDDI_CREATECONTEXTVIRTUALCB Pfnd3dddiCreatecontextvirtualcb;
HRESULT Pfnd3dddiCreatecontextvirtualcb(
HANDLE hDevice,
D3DDDICB_CREATECONTEXTVIRTUAL *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device.
unnamedParam2
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |