Hiding a CETSC Property Page (Windows Embedded CE 6.0)
1/6/2010
Applies to Windows Embedded CE 6.0 R2Update KB945975
This topic describes how to hide a property page in the Windows Embedded CE Terminal Services Client (CETSC) user interface (UI).
To provide your own values for a group of Remote Desktop Protocol (RDP) settings for RDP connections and make them unconfigurable to users, you can hide the corresponding CETSC property page.
The following table shows the property pages that you can hide.
Tab name in CETSC UI | Property page | pdwOptions option |
---|---|---|
Display tab |
Propdisplay |
OEM_HIDE_TAB_DISPLAY |
Local Resources tab |
Proplocalres |
OEM_HIDE_TAB_LOCALRES |
Programs tab |
Proprun |
OEM_HIDE_TAB_RUN |
Experience tab |
Propperf |
OEM_HIDE_TAB_PERF |
Advanced tab |
Propadv |
OEM_HIDE_TAB_ADVANCED |
To hide a CETSC property page
Start Platform Builder.
Open cetscoem.cpp, located in %_WINCEROOT%\PUBLIC\RDP\OAK\CETSC.
In the Initialize function implementation, set the OEM_HIDE* option for the property page in pdwOptions. The options that you can set are described in the table earlier in this topic.
As a best practice for the build system, remove the source code for the hidden property page from the CETSC directory and from the Sources file in %_WINCEROOT%\PUBLIC\RDP\OAK\CETSC.
On the Build menu, choose Global Build Settings, and then make sure that both Copy Files to Release Directory After Build and Make Run-Time Image After Build are selected.
On the Build menu, choose Advanced Build Commands, and then choose Build and Sysgen.
After you complete these steps and re-build the run-time image, when cetsc.exe starts during run time, it will call the functions in cetscoem.dll and apply your customizations to the CETSC UI.