D3DMDEVICE_CREATION_PARAMETERS (Windows CE 5.0)

Send Feedback

This structure describes the creation parameters for a device.

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

OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.

See Also

Direct3D Mobile Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.