SetStdioPathW

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function sets the standard input, output, or error output destination path.

Syntax

BOOL SetStdioPathW(
  DWORD id,
  PWSTR pwszPath
);

Parameters

  • id
    [in] Specifies the standard stream.

    Possible values are the following:

    • stdin indicates input.
    • stdout indicates output.
    • stderr indicates error output.
  • pwszPath
    [in] Specifies the device driver to which the output is sent. For example, TEL1: specifies the telnet device driver.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Kernel Functions
GetStdioPathW