Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StopService method of the Win32_PrinterDriver class

The StopService WMI class method places the service represented by the Win32_PrinterDriver object in the stopped state.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax


uint32 StopService();

Parameters

This method has no parameters.

Return value

Return codeDescription
0

Service successfully stopped.

1

Request not supported.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

Root\CIMV2

MOF

Win32_Printer.mof

DLL

CIMWin32.dll

See also

Computer System Hardware Classes
Win32_PrinterDriver

 

 

Show:
© 2015 Microsoft