Share via


IUPnPDeviceControl::Initialize

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IUPnPRegistrar
IUPnPRegistrar::RegisterDevice