projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various improvements by Carl Nettelblad.
[reactos.git]
/
rosapps
/
cmd
/
batch.h
diff --git
a/rosapps/cmd/batch.h
b/rosapps/cmd/batch.h
index
11324e3
..
e7e6fb6
100644
(file)
--- a/
rosapps/cmd/batch.h
+++ b/
rosapps/cmd/batch.h
@@
-4,6
+4,9
@@
*
*/
*
*/
+#ifndef _BATCH_H_INCLUDED_
+#define _BATCH_H_INCLUDED_
+
typedef struct tagBATCHCONTEXT
{
typedef struct tagBATCHCONTEXT
{
@@
-13,12
+16,11
@@
typedef struct tagBATCHCONTEXT
LPTSTR forproto;
LPTSTR params;
INT shiftlevel;
LPTSTR forproto;
LPTSTR params;
INT shiftlevel;
- BOOL bEcho; /* Preserve echo flag across batch calls [HBP_001] */
+ BOOL bEcho; /* Preserve echo flag across batch calls */
+ HANDLE hFind; /* Preserve find handle when doing a for */
TCHAR forvar;
} BATCH_CONTEXT, *LPBATCH_CONTEXT;
TCHAR forvar;
} BATCH_CONTEXT, *LPBATCH_CONTEXT;
-/* HBP_002 } */
-
/* The stack of current batch contexts.
* NULL when no batch is active
/* The stack of current batch contexts.
* NULL when no batch is active
@@
-37,3
+39,5
@@
LPTSTR BatchParams (LPTSTR, LPTSTR);
VOID ExitBatch (LPTSTR);
BOOL Batch (LPTSTR, LPTSTR, LPTSTR);
LPTSTR ReadBatchLine (LPBOOL);
VOID ExitBatch (LPTSTR);
BOOL Batch (LPTSTR, LPTSTR, LPTSTR);
LPTSTR ReadBatchLine (LPBOOL);
+
+#endif /* _BATCH_H_INCLUDED_ */