IVsDebugger.ParseFileRedirection Method
Parses the command line contained in the argument string, and returns the arguments and handles to any redirected output.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int ParseFileRedirection( string pszArgs, out string pbstrArgsProcessed, out IntPtr phStdInput, out IntPtr phStdOutput, out IntPtr phStdError )
Parameters
- pszArgs
- Type: System.String
[in] A string containing the command line to parse.
- pbstrArgsProcessed
- Type: System.String%
[out] The command line with file directions stripped out.
- phStdInput
- Type: System.IntPtr%
[out] A HANDLE to the standard input file, taking account of redirection.
- phStdOutput
- Type: System.IntPtr%
[out] A HANDLE to the standard output file, taking account of redirection.
- phStdError
- Type: System.IntPtr%
[out] A HANDLE to the standard error file, taking account of redirection.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.