Share via


GetStdioPathW (Windows Embedded CE 6.0)

1/6/2010

This function obtains the name of the device driver being used for a standard input, output, or error output operation.

Syntax

BOOL GetStdioPathW(
  DWORD id,
  PWSTR pwszBuf,
  LPDWORD lpdwLen
);

Parameters

  • id
    [in] Specifies the standard stream.

    The following table describes possible values.

    Value Description

    0

    Input

    1

    Output

    2

    Error output

  • pwszBuf
    [out] Specifies the buffer that returns the name of the device driver being written to, read from, or being sent error output.
  • lpdwLen
    [in] Specifies the length of the buffer.

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
SetStdioPathW