UserControlService method of the Win32_SystemDriver class

The UserControlServiceWMI class method attempts to send a user-defined control code to a service managed by a system driver.

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

Syntax


uint32 UserControlService(
  [in]  uint8 ControlCode
);

Parameters

ControlCode [in]

Specifies defined values (from 128 to 255) that provide control commands specific to a user.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Operating System Classes
Win32_SystemDriver

 

 

Show:
© 2014 Microsoft. All rights reserved.