Collapse All
Parallels C API Reference
ContentsIndex
PreviousUpNext
PrlDevKeyboard_SendKeyPressedAndReleased Function
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

PrlApiVm.h

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-2015 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!