description | title | ms.date | api_name | api_location | api_type | f1_keywords | helpviewer_keywords | ms.assetid | topic_type | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: IDebugAutoAttach::AutoAttach Method |
IDebugAutoAttach::AutoAttach Method |
03/30/2017 |
|
|
|
|
|
3cf3bd9c-7d88-4afa-a476-94cdc7609aa6 |
|
Performs server-invoked debugger auto attach.
HRESULT AutoAttach
(
[in] REFGUID guidPort,
[in] DWORD dwPid,
[in] AUTOATTACH_PROGRAM_TYPE dwProgramType,
[in] DWORD dwProgramId,
[in] LPCWSTR pszSessionId
);
guidPort
[in] Always set to GUID_NULL
.
dwPid
[in] Process ID, normally retrieved with the GetCurrentProcessId
function.
dwProgramType
[in] Program type: AUTOATTACH_PROGRAM_WIN32
, AUTOATTACH_PROGRAM_COMPLUS
, or AUTOATTACH_PROGRAM_UNKNOWN
.
dwProgramId
[in] Program ID.
pszSessionId
[in] String passed by the debug verb.
S_OK if the method succeeds.
Header: DbgAutoAttach.h