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

pcoip_set_display

Sets the resolution of the remote desktop.

C Language

void pcoip_set_display( int width_pixels, int height_pixels [, const char *filename] );

Example Teradici PCoIP Protocol

Arguments

Name Comments
width_pixels Width of remote desktop.
height_pixels Height of remote desktop.
filename The snapshot file. Do not edit this argument if the function was recorded. Do not pass the snapshot filename if the function is entered manually.

General

pcoip_set_display sets the resolution of the remote desktop.

Return Values

No value returned.

Parameterization

Standard parameterization is not available for this function.

Example

This example shows a connection and disconnection.

    pcoip_set_broker_address("mybroker.com", "443");
			
	pcoip_set_auth("hogan", "my_demain", lr_decrypt("123abc345def678ghi"));

	pcoip_connect("my_server", "123.123.123.123", "my_server", "4172");

	pcoip_set_display(800, 582);

	lr_think_time(5); pcoip_mouse_click(626, 13, LEFT_BUTTON, 0, "snapshot2");

	pcoip_disconnect();