Notifies the host that the command state has changed.
HRESULT retVal = object.UpdateUI();
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The host should update the state of toolbar buttons in an implementation of this method.
This method is called regardless of the return value from the IDocHostUIHandler::ShowUI method.
Build date: 11/17/2013