Teradici PC over IP (PCOIP) > Alphabetical Listing of Functions > pcoip_key

pcoip_key

Emulates a key press in a remote session .

C Language

void pcoip_key( const char* key, long int key_modifier );

Example Teradici PCoIP Protocol

Arguments

Name Comments
key A character key or the name of a special key. See below: Special Keys.
key_modifier A key pressed together with the character or special key. Modifiers can be combined, for example, MODIF_SHIFT|MODIF_CONTROL. See below: Key Modifier Values

General

pcoip_key emulates a key press in a remote session.

Return Values

No value returned.

Parameterization

Standard parameterization is not available for this function.

Example

These are examples of the use of pcoip_key.

	pcoip_key("NUM_LOCK_KEY", 0);

	pcoip_key("h", MODIF_SHIFT); // Capital H