IOCTL_SERVICE_CONSOLE

This IOCTL turns a service's console on or off, depending on whether an "on" or "off" string is passed as an input parameter.

Parameters

  • pBufIn
    [in] String specifying the whether the console is to be turned on or off.

Return Values

Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the SetLastError function.

Remarks

Consoles are interactive command prompts implemented by a service that enable an operator to obtain extended information about a service and/or configure the service in greater detail than is possible from the Services.exe command line options.

The options that the console supports will depend on the service. In Windows CE .NET, services are not required to implement consoles.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Service.h.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.