Collapse All
Parallels C API Reference Guide
PrlDevDisplay_IsSlidingMouseEnabled Function
PrlApi.h Primary Display Capture

Determines if Sliding Mouse feature is enabled in the specified virtual machine.

Syntax
PRL_RESULT PrlDevDisplay_IsSlidingMouseEnabled(
    PRL_HANDLE hObj, 
    PRL_BOOL_PTR flag
);
File
Parameters

hObj
flag
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that sliding mouse is enabled. PRL_FALSE indicates otherwise.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Sliding Mouse is a feature that comes with Parallels Tools package. If Sliding Mouse is enabled, the mouse cursor can "slide" from the virtual machine desktop to the host OS desktop without pressing any of the special keys on the keyboard. This function is used when writing remote desktop applications with graphical user interfaces. For more information, see the Mouse Control section in this chapter.

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