Collapse All
Parallels C API Reference Guide
PrlUIEmuInput_AddText Function
PrlApi.h PHT_UIEMU_INPUT

Add text to input object.

Syntax
PRL_RESULT PrlUIEmuInput_AddText(
    PRL_HANDLE hInput, 
    PRL_CONST_STR text, 
    PRL_UINT32 length
);
File
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!