code: def end_powering_down(self, result, err_msg):
          
          if not isinstance(result, baseinteger):
              raise TypeError("result can only be an instance of type baseinteger")
          if not isinstance(err_msg, basestring):
              raise TypeError("err_msg can only be an instance of type basestring")
          self._call("endPoweringDown",
                       in_p=[result, err_msg])
docs: Called by the VM process to inform the server that powering
          down previously requested by #beginPoweringDown is either
          successfully finished or there was a failure.
  
          in result of type int
              @c S_OK to indicate success.
  
          in err_msg of type str
              @c human readable error message in case of failure.
  
          raises :class:`VBoxErrorFileError`
              Settings file not accessible.
          
          raises :class:`VBoxErrorXmlError`
              Could not parse the settings file.