The mask is the bitwise inclusive OR of the valid pointer event mask bits. Specifies the time. You can pass either a timestamp or CurrentTime . Diagnostics BadCursor A value for a Cursor argument does not name a defined Cursor.
Some numeric value falls outside the range of values accepted by the request.
Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.