ReactOS 0.4.16-dev-297-gc569aee
|
Console I/O streams. More...
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <wincon.h>
#include <strsafe.h>
#include "conutils.h"
#include "stream.h"
#include "stream_private.h"
Go to the source code of this file.
Macros | |
#define | UNICODE |
#define | _UNICODE |
#define | CON_STREAM_SET_MODE(Stream, Mode, CacheCodePage) |
Functions | |
BOOL | ConStreamInitEx (OUT PCON_STREAM Stream, IN PVOID Handle, IN CON_STREAM_MODE Mode, IN UINT CacheCodePage OPTIONAL, IN CON_WRITE_FUNC WriteFunc OPTIONAL) |
BOOL | ConStreamInit (OUT PCON_STREAM Stream, IN PVOID Handle, IN CON_STREAM_MODE Mode, IN UINT CacheCodePage OPTIONAL) |
BOOL | ConStreamSetMode (IN PCON_STREAM Stream, IN CON_STREAM_MODE Mode, IN UINT CacheCodePage OPTIONAL) |
BOOL | ConStreamSetCacheCodePage (IN PCON_STREAM Stream, IN UINT CacheCodePage) |
HANDLE | ConStreamGetOSHandle (IN PCON_STREAM Stream) |
BOOL | ConStreamSetOSHandle (IN PCON_STREAM Stream, IN HANDLE Handle) |
Variables | |
CON_STREAM | csStdIn |
CON_STREAM | csStdOut |
CON_STREAM | csStdErr |
Console I/O streams.
Definition in file stream.c.
HANDLE ConStreamGetOSHandle | ( | IN PCON_STREAM | Stream | ) |
Definition at line 240 of file stream.c.
Referenced by _tmain(), BreakHandler(), Cleanup(), cmd_beep(), cmd_start(), CommandColor(), ConClearLine(), ConClearScreen(), ConGetScreenInfo(), Execute(), GetHandle(), Initialize(), InputWait(), and PagePrompt().
BOOL ConStreamInit | ( | OUT PCON_STREAM | Stream, |
IN PVOID | Handle, | ||
IN CON_STREAM_MODE | Mode, | ||
IN UINT CacheCodePage | OPTIONAL | ||
) |
Definition at line 185 of file stream.c.
BOOL ConStreamInitEx | ( | OUT PCON_STREAM | Stream, |
IN PVOID | Handle, | ||
IN CON_STREAM_MODE | Mode, | ||
IN UINT CacheCodePage | OPTIONAL, | ||
IN CON_WRITE_FUNC WriteFunc | OPTIONAL | ||
) |
Definition at line 127 of file stream.c.
Referenced by ConStreamInit().
BOOL ConStreamSetCacheCodePage | ( | IN PCON_STREAM | Stream, |
IN UINT | CacheCodePage | ||
) |
Definition at line 215 of file stream.c.
BOOL ConStreamSetMode | ( | IN PCON_STREAM | Stream, |
IN CON_STREAM_MODE | Mode, | ||
IN UINT CacheCodePage | OPTIONAL | ||
) |
Definition at line 195 of file stream.c.
Referenced by Initialize().
BOOL ConStreamSetOSHandle | ( | IN PCON_STREAM | Stream, |
IN HANDLE | Handle | ||
) |
Definition at line 263 of file stream.c.
Referenced by SetHandle(), and wmain().
CON_STREAM csStdErr |
CON_STREAM csStdIn |
CON_STREAM csStdOut |