Metoda IVsDebugger2.GetConsoleHandlesForProcess — (UInt32, UInt64, UInt64, UInt64)
Zawiera dojść konsoli standardowy w debugerze inny proces można przekierować uchwyty standardowe okno debugowania.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Składnia
int GetConsoleHandlesForProcess(
uint dwPid,
out ulong pdwStdInput,
out ulong pdwStdOutput,
out ulong pdwStdError
)
int GetConsoleHandlesForProcess(
unsigned int dwPid,
[OutAttribute] unsigned long long% pdwStdInput,
[OutAttribute] unsigned long long% pdwStdOutput,
[OutAttribute] unsigned long long% pdwStdError
)
abstract GetConsoleHandlesForProcess :
dwPid:uint32 *
pdwStdInput:uint64 byref *
pdwStdOutput:uint64 byref *
pdwStdError:uint64 byref -> int
Function GetConsoleHandlesForProcess (
dwPid As UInteger,
<OutAttribute> ByRef pdwStdInput As ULong,
<OutAttribute> ByRef pdwStdOutput As ULong,
<OutAttribute> ByRef pdwStdError As ULong
) As Integer
Parametry
dwPid
Type: System.UInt32[in] Identyfikator procesu hosta.
pdwStdInput
Type: System.UInt64[out] Dojście do debugera standardowe dane wejściowe.
pdwStdOutput
Type: System.UInt64[out] Obsługa standardowych danych wyjściowych debugera.
pdwStdError
Type: System.UInt64[out] Dojście do błędu standardowego debugera.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell80.idl:
HRESULT IVsDebugger2::GetConsoleHandlesForProcess(
[in] DWORD dwPid,
[out] ULONG64 *pdwStdInput,
[out] ULONG64 *pdwStdOutput
);
Zobacz też
Interfejs IVsDebugger2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku