Collapse All
Parallels C API Reference Guide
PrlDevKeyboard_SendKeyPressedAndReleased Function
PrlApi.h Keyboard Control

Sends a keyboard key pressed and released to a virtual machine.

Syntax
PRL_RESULT PrlDevKeyboard_SendKeyPressedAndReleased(
    PRL_HANDLE hVm, 
    PRL_KEY key
);
File
Parameters

hVm
A handle of type of PHT_VIRTUAL_MACHINE identifying the virtual machine.
key
Key code. See the PrlKeys.h file for the list of the available key codes.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

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