Export (0) Print
Expand All

3.20.10.1 IWindowsDriverUpdate2::RebootRequired (Opnum 61)

The IWindowsDriverUpdate2::RebootRequired (opnum 61) method retrieves whether a reboot is needed to complete installation or uninstallation of the update.

HRESULT RebootRequired(
  [out, retval] VARIANT_BOOL* retval
);

retval: MUST be set either to VARIANT_TRUE if a reboot is required to complete the installation or uninstallation of this update or to VARIANT_FALSE if not.

Return Values: The method MUST return information in an HRESULT data structure ([MS-ERREF] section 2.1). The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

This method SHOULD return the value of the RebootRequired ADM element.

 
Show:
© 2015 Microsoft