This method sets the maximum value of the progress bar.
HRESULT put_Max( long lMax );
NOERROR indicates success. E_INVALIDARG indicates that an invalid argument has been entered.
If you set the maximum value of the progress bar to a value that is less than the current minimum value of the progress bar, the minimum value of the progress bar is reset to the value specified for the maximum value of the progress bar.