mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +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
|
@ -50,15 +50,17 @@ do { \
|
|||
} while (0)
|
||||
|
||||
|
||||
// Pager, Done, Total
|
||||
typedef BOOL (__stdcall *PAGE_PROMPT)(IN PCON_PAGER, IN DWORD, IN DWORD);
|
||||
typedef BOOL (__stdcall *PAGE_PROMPT)(
|
||||
IN PCON_PAGER Pager,
|
||||
IN DWORD Done,
|
||||
IN DWORD Total);
|
||||
|
||||
BOOL
|
||||
ConWritePaging(
|
||||
IN PCON_PAGER Pager,
|
||||
IN PAGE_PROMPT PagePrompt,
|
||||
IN BOOL StartPaging,
|
||||
IN PTCHAR szStr,
|
||||
IN PCTCH szStr,
|
||||
IN DWORD len);
|
||||
|
||||
BOOL
|
||||
|
@ -66,7 +68,7 @@ ConPutsPaging(
|
|||
IN PCON_PAGER Pager,
|
||||
IN PAGE_PROMPT PagePrompt,
|
||||
IN BOOL StartPaging,
|
||||
IN LPTSTR szStr);
|
||||
IN PCTSTR szStr);
|
||||
|
||||
BOOL
|
||||
ConResPagingEx(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue