Export (0) Print
Expand All

DXGI_OUTDUPL_POINTER_SHAPE_INFO structure

The DXGI_OUTDUPL_POINTER_SHAPE_INFO structure describes information about the cursor shape.

Syntax


typedef struct _DXGI_OUTDUPL_POINTER_SHAPE_INFO {
  UINT  Type;
  UINT  Width;
  UINT  Height;
  UINT  Pitch;
  POINT HotSpot;
} DXGI_OUTDUPL_POINTER_SHAPE_INFO;

Members

Type

A DXGI_OUTDUPL_POINTER_SHAPE_TYPE-typed value that specifies the type of cursor shape.

Width

The width in pixels of the mouse cursor.

Height

The height in scan lines of the mouse cursor.

Pitch

The width in bytes of the mouse cursor.

HotSpot

The position of the cursor's hot spot relative to its upper-left pixel. An application does not use the hot spot when it determines where to draw the cursor shape.

Remarks

An application draws the cursor shape with the top-left-hand corner drawn at the position that the Position member of the DXGI_OUTDUPL_POINTER_POSITION structure specifies; the application does not use the hot spot to draw the cursor shape.

An application calls the IDXGIOutputDuplication::GetFramePointerShape method to retrieve cursor shape information in a DXGI_OUTDUPL_POINTER_SHAPE_INFO structure.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]

Header

DXGI1_2.h

See also

IDXGIOutputDuplication::GetFramePointerShape

 

 

Community Additions

ADD
Show:
© 2014 Microsoft