IUPnPDeviceControl::Initialize (Windows CE 5.0)

Send Feedback

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

HRESULT Initialize(BSTR bstrXMLDesc,BSTRbstrDeviceIdentifier,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.
  • bstrInitString
    [in] Specifies the device identifier obtained as a result of a call to the IUPnPRegistrar::RegisterDevice method.

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnphost.h.
Link Library: Uuid.lib.

See Also

IUPnPRegistrar | IUPnPRegistrar::RegisterDevice

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.