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
TheGetAmountTotalmethod returns a value that represents the total amount of work to be performed by the process.GetAmountTotalreturns the last value set by theSetAmountTotalmethod or 0 ifSetAmountTotalhas not been called since the object was initialized or reset. The amount done, set by theSetAmountDonemethod, is specified relative to the total amount as set by theSetAmountTotalmethod.The value in the
amtTotalparameter 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
TheGetAmountDonemethod (page 302).
TheGetProgressPercentmethod (page 305).
TheSetAmountDonemethod (page 308).
TheSetAmountTotalmethod (page 309).
TheSetProgressPercentmethod (page 311).