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

CIMWin32.mof

DLL

CIMWin32.dll

See also

Computer System Hardware Classes
Win32_PrinterDriver

 

 

Show:
© 2014 Microsoft