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.

StartService method of the Win32_PrinterDriver class

The StartService method places the service in the started state.

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

Syntax


uint32 StartService();

Parameters

This method has no parameters.

Return value

Return codeDescription
0

Service successfully started.

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