Bewerken

Delen via


DXGK_SETPOINTERPOSITIONFLAGS structure (d3dkmddi.h)

The DXGK_SETPOINTERPOSITIONFLAGS structure identifies, in bit-field flags, information about a mouse pointer.

Syntax

typedef struct _DXGK_SETPOINTERPOSITIONFLAGS {
  union {
    struct {
      UINT Visible : 1;
      UINT Procedural : 1;
      UINT Reserved : 30;
    };
    [in] UINT Value;
  };
} DXGK_SETPOINTERPOSITIONFLAGS;

Members

[in] Visible

A UINT value that specifies whether the mouse pointer is visible. If this member is set, the mouse pointer is visible; if this member is not set, the mouse pointer is invisible. The driver should ignore the values in the X and Y members of the DXGKARG_SETPOINTERPOSITION structure if Visible is not set (that is, Visible is set to 0).

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

[in] Procedural

A UINT value that specifies whether the mouse pointer position was set by an application with the SetCursorPos or similar cursor function instead of coming from user device input.

Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).

Supported starting with Windows 8.

[in] Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting remaining 30 bits (0xFFFFFFFC) of the 32-bit Value member to zeros.

[in] Value

A member in the union that DXGK_SETPOINTERPOSITIONFLAGS contains that can hold one 32-bit value that indicates information about a mouse pointer.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_SETPOINTERPOSITION