IVMMouse::UsingAbsoluteCoordinates property
[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]
Retrieves whether mouse coordinates represent absolute or relative coordinates.
This property is read/write.
Syntax
HRESULT put_UsingAbsoluteCoordinates(
[in] VARIANT_BOOL usingAbsoluteCoordinates
);
HRESULT get_UsingAbsoluteCoordinates(
[out, retval] VARIANT_BOOL *usingAbsoluteCoordinates
);
Property value
VARIANT_TRUE to set the mouse device to use absolute coordinates, VARIANT_FALSE to use relative coordinates.
Error codes
Name/value | Meaning |
---|---|
|
The operation was successful. |
|
The parameter is NULL. |
|
The virtual machine to which this mouse device is attached is not currently running. |
|
Integration components are not installed. Integration components are required to use absolute coordinates. |
|
An unexpected error has occurred. |
Remarks
This property is local only to this object and will default to VARIANT_FALSE for a new IVMMouse object. Note that integration components must be installed in order to use absolute coordinates.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
None supported |
End of client support |
Windows 7 |
Product |
Windows Virtual PC |
Header |
|
IID |
IID_IVMmouse is defined as ac903f6d-6346-4f29-8875-5d511a13895e |