The external interface to the Batch Client API is advertised by a header file (BATCHAPI.H) containing the relevant constants, structures, and function prototypes.
In general, Batch Client APIs work the same when applied to either batch or pipe queues. However, when using an API to retrieve or modify a BATCH_QUEUE_INFO_2 structure, remember to take into account the differences between batch queues (shell lists and default shells) and pipe queues (destination lists).
The function implementations are accessed through the Batch Client API DLL.
Remote Operations and Batch API
The following table shows the syntax for specifying various parameters in the batch system.
Parameter |
Local Syntax |
Remote Syntax |
---|---|---|
server |
NULL or empty |
\\host |
queue |
queue |
\\host\queue |
job-id |
seqno.host |
\\host\job-id |
user |
user |
host\user, domain\user |
group |
group |
host\group, domain\group |
file |
filename |
\\host\filename |