IWDTFDriverSetupAction2::UpdateDriver method

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

Syntax

HRESULT UpdateDriver(
  IWDTFDriverPackageAction2 *pDp,
  VARIANT_BOOL              *pbReboot
);

Parameters

pDp

The driver package.

pbReboot

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
Target Platform Desktop
Header wdtfdriversetupdeviceaction.h

See also

IWDTFDriverSetupAction2