Share this page

# Example: rdp_get_option

This example shows the use of rdp_get_option to retrieve the bits per pixel attribute of an RDP session.

rdp_get_option("StepDescription=Getting option 1",

"OptionName=BitsPerPixel",

"ResultParameter=MyParam",

RDP_LAST );

lr_log_message( lr_eval_string( "{MyParam}" ) );

Output:

vuser_init.c(42): Getting option BitsPerPixel was successful

16

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: