Share via


IUPnPDeviceControl::Initialize (Compact 7)

3/12/2014

This method is invoked by the device host to initialize the device.

Syntax

HRESULT Initialize(
  BSTR bstrXMLDesc,
  BSTR bstrDeviceIdentifier,
  BSTR bstrInitString
);

Parameters

  • bstrXMLDesc
    [in] Specifies the full device description in Extensible Markup Language (XML) format as published by the device host.
  • bstrDeviceIdentifier
    [in] Specifies a device-specific initialization string.

Return Value

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the Component Object Model (COM) error codes that are defined in Winerror.h.

Requirements

Header

upnphost.h

Library

uuid.lib

See Also

Reference

IUPnPDeviceControl
IUPnPRegistrar
IUPnPRegistrar::RegisterDevice