Skip to content

Latest commit

 

History

History
130 lines (77 loc) · 2.59 KB

attachdebugger-method-in-class-win32-process.md

File metadata and controls

130 lines (77 loc) · 2.59 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date topic_type api_name api_type api_location
Starts the debugger that is currently registered for this process.
63c30db8-6117-4353-9132-4f39c72a6637
multiple
AttachDebugger method of the Win32_Process class
reference
05/31/2018
APIRef
kbSyntax
Win32_Process.AttachDebugger
COM
CIMWin32.dll

AttachDebugger method of the Win32_Process class

The AttachDebugger WMI 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

Returns one of the values listed in the following list or any other value to indicate an error. For additional error codes, see WMI Error Constants or WbemErrorEnum. For general HRESULT values, see System Error Codes.

Successful completion

0

Successful completion.

Access denied

2

The user does not have access to the requested information.

Insufficient privilege

3

The user does not have sufficient privilege.

Unknown failure

8

Unknown failure.

Path not found

9

The path specified does not exist.

Invalid parameter

21

The specified parameter is not valid.

Other

22 4294967295

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

Operating System Classes

Win32_Process