Important: The information in this document is obsolete and should not be used for new development.
GetProgressMode
Retrieves the progress mode for an asynchronous process.
void GetProgressMode (out short mode);
mode- The progress mode of the process. Valid values for this parameter are
kUnmeteredProgressandkMeteredProgress.DISCUSSION
TheGetProgressModemethod returns the last value set by theSetProgressModemethod orkUnmeteredProgressifSetProgressModehas not been called since the object was initialized or reset.The progress mode of the process indicates whether the total amount of work to be performed is known and can be measured. For example, if you know in advance the number of bytes to be downloaded, the progress mode is metered. In contrast, if you don't know in advance the number of bytes to be downloaded, the progress mode is unmetered. The default progress mode is unmetered.
SEE ALSO
TheSetProgressModemethod (page 310).