NetScheduleJobGetInfo
The NetScheduleJobGetInfo
function retrieves information about a particular job queued on a specified
computer. This function requires that the Schedule service be started.
Security Requirements
Only members
of the Administrators local group can successfully execute NetScheduleJobGetInfo
on a remote server.
NET_API_STATUS NetScheduleJobGetInfo(
LPWSTR Servername, |
|
DWORD JobId, |
|
LPBYTE *PointerToBuffer |
|
); |
|
Parameters
Servername
Pointer to a
Unicode string containing the name of the remote server on which the function
is to execute. A NULL pointer or string specifies the local computer.
JobId
A job
identifier of a job in question.
PointerToBuffer
On return a
pointer to the buffer containing the AT_INFO16BMMWO structure describing the job in question.
See Also