Export (0) Print
Expand All

IWDTFDriverSetupAction2::UpdateDriver method

Updates the target device with a driver from the driver package.

Syntax


HRESULT UpdateDriver(
  [in]           IWDTFDriverPackageAction2 *pDp,
  [out, retval]  VARIANT_BOOL *pbRebootRequired
);

Parameters

pDp [in]

The driver package.

pbRebootRequired [out, retval]

True if the device must reboot after the update; otherwise, false.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Namespace

Microsoft.WDTF

Assembly

WDTFDriverSetupDeviceAction.Interop.dll

Header

WDTFDriverSetupDeviceAction.h

IDL

WDTFDriverSetupDeviceAction.idl

See also

IWDTFDriverSetupAction2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft