This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
The Direct3D 9 API operates on either the Windows XP display driver model (XPDM) or the Windows Vista display driver model (WDDM), depending on the operating system installed. There are some differences in the way the Direct3D API behaves on the two driver models.
The secure desktop is active whenever any of the following occur: the user locks their desktop (Windows+L), the screen saver activates (when no user is logged in), or by default when User Account Control presents a prompt. When the secure desktop is active, the HAL device is not accessible.
Differences between XPDM and WDDM:
Attempting to create a Direct3D9 HAL device will fail (withD3DERR_NOT_AVAILABLE), and any existing Direct3D 9 device will indicate a lost device return code on Present.
Direct3D9Ex and Direct3D 10 APIs can successfully create a device while the secure desktop is active, and any calls to Present (IDirect3D9Ex or DXGI) will return a status code indicating the desktop is currently unavailable.
When a remote desktop is active, the display is handled by the viewing machine with the hosting machine sending information via the network.
Differences between XPDM and WDDM:
On XPDM, all attempts to create a Direct3D 9 device on a remote desktop will fail.
On WDDM, remote desktop does support creating a HAL device over a remote desktop session.
A Windows service is a process that runs in the background, controlled by the service-control manager (SCM). A service runs independent of the active desktop and therefore has limited ability to interact with users.
Differences between XPDM and WDDM:
Note
You cannot use Direct3D 9 in a Windows service. For more information, seeMicrosoft support article 978635.
The following table summarizes the differences listed here.
Secure Desktop | XPDM | WDDM (Direct3D9) | WDDM(Direct3D9Ex/Direct3D10) |
---|---|---|---|
NULLREF | Yes | Yes | Yes |
HAL | No | No | Yes |
REF | Yes | Yes | Yes |
Remote Desktop | |||
NULLREF | No | Yes | Yes |
HAL | No | Yes | Yes |
REF | Yes | Yes | Yes |
Windows Service | |||
NULLREF | No | No | No |
HAL | No | No | No |
REF | No | No | No |
WARP10 | N/A | N/A | Yes |
For more information about XPDM, WDDM, Direct3D9Ex, and Direct3D 10, seeGraphics APIs in Windows.
Was this page helpful?
Was this page helpful?