Partager via


D3DM_PRESENT (Windows Embedded CE 6.0)

1/6/2010

This structure contains the contents of the D3DMOP_PRESENT command token (see D3DM_OPERATION), which informs the driver that the current surface is complete and must be rendered to the screen.

Syntax

typedef struct _D3DM_PRESENT {
  ULONG PresentSurface;
  RECT SourceRect;
  RECT DestinationRect;
  DWORD NumClippingRects;
  RECT ClippingRects[1];
} D3DM_PRESENT, * LPD3DM_PRESENT;

Members

  • PresentSurface
    A ULONG value that is the memory address of the surface the driver should present.
  • SourceRect
    A RECT structure that specifies the portion of the surface that the driver should present.
  • DestinationRect
    A RECT structure that specifies the portion of the display surface that the data in SourceRect should be displayed in.
  • NumClippingRects
    A DWORD value that specifies the number of clipping rectangles for the surface.
  • ClippingRects
    A pointer to an array of NumClippingRectsRECT structures that define the clipping regions for the surface.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_OPERATION

Other Resources

RECT