// d3dumddi.h
PFND3DDDI_CREATECONTEXTVIRTUALCB Pfnd3dddiCreatecontextvirtualcb;
HRESULT Pfnd3dddiCreatecontextvirtualcb(
HANDLE hDevice,
D3DDDICB_CREATECONTEXTVIRTUAL *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
pfnCreateContextVirtualCb should be used with contexts that support virtual addressing.
hDeviceA handle to the display device.
unnamedParam2pData [in, out]
A pointer to a D3DDDICB_CREATECONTEXTVIRTUAL structure that describes the context to create.
| 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.