SetStdioPathW (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions
GetStdioPathW