gecko-dev/docs/nspr/reference/pr_canceljob.rst

31 строка
413 B
ReStructuredText

PR_CancelJob
============
Causes a previously queued job to be canceled.
Syntax
------
.. code:: eval
#include <prtpool.h>
NSPR_API(PRStatus) PR_CancelJob(PRJob *job);
Parameter
~~~~~~~~~
The function has the following parameter:
``job``
A pointer to a :ref:`PRJob` structure returned by a :ref:`PR_QueueJob`
function representing the job to be cancelled.
Returns
~~~~~~~
:ref:`PRStatus`