IVMMouse::ScrollWheelPosition property
[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]
Adjusts the z-coordinate of the mouse (relative only).
This property is write-only.
Syntax
HRESULT put_ScrollWheelPosition(
[in] long position
);
Property value
The z-coordinate indicating the number of pixels the mouse is to be moved along the z-axis.
Error codes
Name/value | Meaning |
---|---|
|
The operation was successful. |
|
The virtual machine to which this mouse device is attached is not currently running. |
|
The mouse device has not been powered up, or is not currently active in the virtual machine. |
|
The scroll wheel position cannot be set when the mouse device is using absolute coordinates. |
|
An unexpected error has occurred. |
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 |