11324e38c61e0726a5bf6f014551636af8c525e2
2 * BATCH.H - A structure to preserve the context of a batch file
8 typedef struct tagBATCHCONTEXT
10 struct tagBATCHCONTEXT
*prev
;
11 LPWIN32_FIND_DATA ffind
;
16 BOOL bEcho
; /* Preserve echo flag across batch calls [HBP_001] */
18 } BATCH_CONTEXT
, *LPBATCH_CONTEXT
;
23 /* The stack of current batch contexts.
24 * NULL when no batch is active
26 extern LPBATCH_CONTEXT bc
;
28 extern BOOL bEcho
; /* The echo flag */
30 #define BATCH_BUFFSIZE 2048
32 extern TCHAR textline
[BATCH_BUFFSIZE
]; /* Buffer for reading Batch file lines */
36 LPTSTR
BatchParams (LPTSTR
, LPTSTR
);
37 VOID
ExitBatch (LPTSTR
);
38 BOOL
Batch (LPTSTR
, LPTSTR
, LPTSTR
);
39 LPTSTR
ReadBatchLine (LPBOOL
);