D3DMDEVICE_CREATION_PARAMETERS (Windows Embedded CE 6.0)
1/6/2010
This structure describes the creation parameters for a device.
Syntax
typedef struct _D3DMDEVICE_CREATION_PARAMETERS {
UINT AdapterOrdinal;
D3DMDEVTYPE DeviceType;
HWND hFocusWindow;
ULONG BehaviorFlags;
} D3DMDEVICE_CREATION_PARAMETERS;
Members
AdapterOrdinal
Ordinal number that denotes the display adapter. D3DMADAPTER_DEFAULT is always the primary display adapter, see D3DMADAPTER Values.Use this ordinal as the Adapter parameter for any of the IDirect3DMobile methods. Use this ordinal only in valid instance of Direct3D Mobile. The only two valid instances are the instance that created this IDirect3DMobileDevice interface and the instance returned from IDirect3DMobileDevice::GetCreationParameters.
- DeviceType
Member of the D3DMDEVTYPE enumerated type. Denotes the amount of emulated functionality for this device. The value of this parameter mirrors the value passed to the IDirect3DMobile::CreateDevice call that created this device.
- hFocusWindow
Window handle to which focus belongs for this Microsoft® Direct3D Mobile® device. The value of this parameter mirrors the value passed to the IDirect3DMobile::CreateDevice call that created this device.
- BehaviorFlags
Set this value to 0 or to D3DMCREATE_MULTITHREADED.
Requirements
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |