Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AttachDebugger method of the Win32_Process class

The AttachDebuggerWMI class method starts the debugger that is currently registered for this process.

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

Syntax


uint32 AttachDebugger();

Parameters

This method has no parameters.

Return value

Return codeDescription
0

Successful completion.

2

The user does not have access to the requested information.

3

The user does not have sufficient privilege.

8

Unknown failure.

9

The path specified does not exist.

21

The specified parameter is not valid.

 

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_Process

 

 

Show:
© 2014 Microsoft. All rights reserved.