IDOMProgressEvent::total Property

New for Internet Explorer 9

[This documentation is preliminary and is subject to change.]

Gets the total number of bytes of content that are expected in the operation.

Syntax

HRESULT IDOMProgressEvent::get_total(ULONGLONG *p);

Parameters

  • p
    Pointer to a variable of type ULONGLONG that receives the expected length of the transfer, in bytes.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The value of the total propety is unknown until the lengthComputable property returns VARIANT_TRUE. The loaded property indicates how many bytes have been transferred so far.

See Also

IDOMProgressEvent::loaded, IDOMProgressEvent::loadedItems, IDOMProgressEvent::totalItems