Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVm_UIEmuSendScroll Function
PHT_VIRTUAL_MACHINE

Send scroll event to User Input Emulation.

Syntax
PRL_RESULT PrlVm_UIEmuSendScroll(
    PRL_HANDLE hObj, 
    PRL_UIEMU_SCROLL_UNITS scrollUnits, 
    PRL_INT32 scrollX, 
    PRL_INT32 scrollY, 
    PRL_UINT32 flags
);
File

PrlApiVm.h

Parameters

hObj
scrollUnits
[in] Scroll units.
scrollX
[in] Amount of scroll along X axis.
scrollY
[in] Amount of scroll along Y axis.
flags
[in] Flags. One of PRL_UIEMU_SCROLL_FLAGS .
Returns

PRL_RESULT . Possible values: PRL_ERR_UNINITIALIZED - SDK was not properly initialized. PRL_ERR_INVALID_ARG - hVm is invalid, uiEmuVersion or text is 0. PRL_ERR_OUT_OF_MEMORY - memory allocation error during send. PRL_ERR_FAILURE - failed to send event.

Links
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!