DXGI_OUTDUPL_POINTER_SHAPE_TYPE

DXGI_OUTDUPL_POINTER_SHAPE_TYPE enumeration

Identifies the type of pointer shape.

Syntax


typedef enum DXGI_OUTDUPL_POINTER_SHAPE_TYPE { 
  DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME    = 0x1,
  DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR         = 0x2,
  DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR  = 0x4
} DXGI_OUTDUPL_POINTER_SHAPE_TYPE;

Constants

DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME

The pointer type is a monochrome mouse pointer, which is a monochrome bitmap. The bitmap's size is specified by width and height in a 1 bits per pixel (bpp) device independent bitmap (DIB) format AND mask that is followed by another 1 bpp DIB format XOR mask of the same size.

DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR

The pointer type is a color mouse pointer, which is a color bitmap. The bitmap's size is specified by width and height in a 32 bpp ARGB DIB format.

DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR

The pointer type is a masked color mouse pointer. A masked color mouse pointer is a 32 bpp ARGB format bitmap with the mask value in the alpha bits. The only allowed mask values are 0 and 0xFF. When the mask value is 0, the RGB value should replace the screen pixel. When the mask value is 0xFF, an XOR operation is performed on the RGB value and the screen pixel; the result replaces the screen pixel.

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

DXGI Enumerations
DXGI_OUTDUPL_POINTER_SHAPE_INFO

 

 

Show:
© 2016 Microsoft