Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlUIEmuInput_AddText Function
PHT_UIEMU_INPUT

Add text to input object.

Syntax
PRL_RESULT PrlUIEmuInput_AddText(
    PRL_HANDLE hInput, 
    PRL_CONST_STR text, 
    PRL_UINT32 length
);
File

PrlApiVm.h

Parameters

hInput
[in] Handle of type PHT_UIEMU_INPUT. Must be valid.
text
[in] Text (UTF-8 encoded).
length
[in] Text length. Can be 0.

Returns

PRL_RESULT. Possible values: PRL_ERR_UNINITIALIZED - SDK was not properly initialized. PRL_ERR_INVALID_ARG - specified arguments are invalid. PRL_ERR_OUT_OF_MEMORY - not enough memory. PRL_ERR_SUCCESS - function completed successfully.

Remarks

Input object must not be accessed from other thread during this operation.

Links
© 2021 Parallels International GmbH. All rights reserved.