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 |
|
DLL |
|