The GetStatus method returns information about
the specified file in the transfer queue.
Parameters
lpQueueStatus
A pointer to a HTTPQUEUESTATUS
structure which will contain information about the current state of
the file transfer queue. If this parameter is NULL, the method
will ignore the parameter and only return the current status of the
queue.
Return Value
If the method succeeds, the return value is the current queue
status. If the
method fails, the return value is HTTP_ERROR. To get extended error
information, call HttpGetLastError. The following status values
may be returned:
Value
Description
HTTP_QUEUE_STATUS_IDLE
The file transfer queue is idle and no files are being
uploaded or downloaded. This state is returned before
HttpStartQueue has been called or after
HttpStopQueue has been called. The queue will also
automatically enter an idle state after the last file transfer
has completed and the queue manager thread exits.
HTTP_QUEUE_STATUS_ACTIVE
The queue manager is active and files are currently being
uploaded or downloaded.
HTTP_QUEUE_STATUS_PAUSED
The queue manager is active although file transfers are currently paused. The queue enters this
state after the HttpSuspendQueue method is
called and resumes file transfers after the
HttpResumeQueue method is called.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1 Minimum Server Platform: Windows Server 2008 R2 Service Pack 1 Header File: cstools12.h Import Library: cshtpv12.lib