3.1.4.3.5.7 Retrieve the Number of Times a Task Did Not Run

To retrieve the number of times a task did not run, the client MUST first know the path of the task. The path of the task is determined when the client creates the task or queries the server (section 3.1.4.3.6).

The client MUST then invoke the SchRpcGetNumberOfMissedRuns method with the following parameters:

  • The path of the existing task in the path parameter.

  • The location of a DWORD to receive the number of times the task did not run in the pNumberOfMissedRuns parameter.