Important: The information in this document is obsolete and should not be used for new development.
GetAmountTotal
Retrieves a value representing the total amount of work to be completed by an asynchronous process.
void GetAmountTotal (out long amtTotal);
amtTotal
- The total amount of work to be completed.
DISCUSSION
TheGetAmountTotal
method returns a value that represents the total amount of work to be performed by the process.GetAmountTotal
returns the last value set by theSetAmountTotal
method or 0 ifSetAmountTotal
has not been called since the object was initialized or reset. The amount done, set by theSetAmountDone
method, is specified relative to the total amount as set by theSetAmountTotal
method.The value in the
amtTotal
parameter is a numeric indication of the total amount of work to be performed. For example, consider the process of downloading 200 bytes of data. In this case, the total amount is 200.SEE ALSO
TheGetAmountDone
method (page 302).
TheGetProgressPercent
method (page 305).
TheSetAmountDone
method (page 308).
TheSetAmountTotal
method (page 309).
TheSetProgressPercent
method (page 311).