IUpdate::HandlerID property

Gets the install handler of the update.

This property is read-only.

Syntax


HRESULT get_HandlerID(
  [out]  BSTR *retval
);

Property value

A string that specifies the Uniform Resource Identifier (URI) for the XML schema of the handler of the update.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

The valid values for the HandlerID property include the following:

  • The Command Line Installation Handler

    http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/CommandLineInstallation

  • The Inf Based Installation Handler

    http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/InfBasedInstallation

  • The Windows Installer Installation Handler

    http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsInstaller

  • The Package Installer for Microsoft Windows Operating Systems and Windows Components (update.exe) Installation Handler

    http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsPatch

  • The Component Based Servicing (CBS) Handler

    http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/Cbs

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft