mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:31:43 +00:00
[CONUTILS] Use const string pointers for strings that are not modified by the functions.
This commit is contained in:
parent
dff2d58693
commit
4aaf54e0a4
7 changed files with 60 additions and 46 deletions
|
@ -55,9 +55,15 @@ typedef enum _CON_STREAM_MODE
|
|||
// Shadow type, implementation-specific
|
||||
typedef struct _CON_STREAM CON_STREAM, *PCON_STREAM;
|
||||
|
||||
// typedef INT (__stdcall *CON_READ_FUNC)(IN PCON_STREAM, IN PTCHAR, IN DWORD);
|
||||
// Stream, szStr, len
|
||||
typedef INT (__stdcall *CON_WRITE_FUNC)(IN PCON_STREAM, IN PTCHAR, IN DWORD);
|
||||
// typedef INT (__stdcall *CON_READ_FUNC)(
|
||||
// IN PCON_STREAM Stream,
|
||||
// OUT PTCHAR szStr,
|
||||
// IN OUT PDWORD len);
|
||||
|
||||
typedef INT (__stdcall *CON_WRITE_FUNC)(
|
||||
IN PCON_STREAM Stream,
|
||||
IN PCTCH szStr,
|
||||
IN DWORD len);
|
||||
|
||||
/*
|
||||
* Standard console streams, initialized by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue