次の方法で共有


D3DM_CREATECONTEXT_DATA (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about a rendering context. A pointer to this structure is passed to the driver in the D3DM_CreateContext function.

Syntax

typedef struct _D3DM_CREATECONTEXT_DATA {
  ULONG nContextId;
  HRESULT rval;
} D3DM_CREATECONTEXT_DATA;

Members

  • nContextId
    A ULONG value containing the handle to a rendering context. This value is provided by the driver. The value 0 is not a valid handle for a rendering context.
  • rval
    An HRESULT value containing an error code reported by the driver to describe any problems it encountered while trying to create the rendering context. If the driver did not encounter any errors, it sets this value to D3DM_OK to indicate success.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_CreateContext

Concepts

Rendering Contexts in Direct3D Mobile