dIsTerminalServicesEnabled

 

This function cheks if Terminal Services is enabled on the target system.

 

LONG dIsTerminalServicesEnabled

 

Return Value:           -True, if Terminal Services is enabled, False if Terminal Services is not enabled, or a Windows error code.