Represents a PS2 mouse device. Instances of this class are logical devices that are always present in a virtual system, and thus are not allocated through a resource pool. One instance is always present in a virtual computer system.
{'Description':'The 1-based index of the button.','In':True}
Description
'Simulates a button click, a down-up sequence, on the specified device button. Return value: A return value of zero indicates success. A non-zero value indicates a failure to modify the button state.'
Values
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
{'Description':'The 1-based index of the button to query.','In':True}
buttonState
boolean
1
-
✓
{'Description':'The current down state of the button. A TRUE value means the button is down.','Out':True}
Description
'Retrieves the current state of the specified device button. Return value: A return value of zero indicates success. A non-zero value indicates a query failure.'
Values
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
{'Description':'The 1-based index of the button to modify.','In':True}
buttonState
boolean
1
✓
-
{'Description':'The new down state of the button. A TRUE value means the button is down.','In':True}
Description
'Sets the current state of the specified device button. Return value: A return value of zero indicates success. A non-zero value indicates a failure to modify the button state.'
Values
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
{'Description':'The horizontal change for the mouse position, in pixels.','In':True}
verticalDelta
sint8
1
✓
-
{'Description':'The vertical change for the mouse position, in pixels.','In':True}
Description
'Offsets the position of the mouse by the specified horizontal and vertical deltas. Return value: A return value of zero indicates success. A non-zero value indicates a failure to alter the mouse position.'
Values
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
SetRelativePosition method is in 1 class (Msvm_Ps2Mouse) of ROOT\virtualization\v2\ms_409 and in 2 namespaces
{'Description':'The delta of the scroll position.','In':True}
Description
'Adjusts the z-coordinate of the wheel control of the pointing device. Values written to this property are always relative coordinate offsets. Return value: A return value of zero indicates success. A non-zero value indicates a failure to alter the scroll position.'
Values
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
'Represents a PS2 mouse device. Instances of this class are logical devices that are always present in a virtual system, and thus are not allocated through a resource pool. One instance is always present in a virtual computer system.'