Sets the properties InitialProgramPath and StartIn which specify the name and path of the program and the working directory path for the program the user wants to start on logon to the Terminal Server. It returns an integer value of 0 if call was a success in case of Server-Override mode and an error if the policy was set to Group control policy.
Sets the power state of the computer. The use of this method has been deprecated. Instead, use the SetPowerState method in ...
Sets the power state of the Device. The use of this method has been deprecated. Instead, use the SetPowerState method in ...
Sets the priority of the pruning thread. The pruning thread, which runs only on domain controllers, deletes printer objects ...
Sets the properties ConnectClientDrivesAtLogon, ConnectPrinterAtLogon and DefaultToClientPrinter. It returns an integer value ...
Sets the properties InitialProgramPath and StartIn which specify the name and path of the program and the working directory ...
Sets the properties UserName, Password and Domain which specify the credentials explicitly to be used for authentication. ...
Sets the property LevelOfControl which specifies the level of control which is one of Disable, EnableInputNotify, EnableInputNoNotify, ...
Sets the Security layer to one of RDP Security Layer, Negotiate or SSL. The function takes one parameter that specifies the ...
Sets the target of the More Information link that will be displayed when the user attempts to run a program that is blocked ...