IUPnPDeviceControl::Initialize
A version of this page is also available for
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.
- bstrInitString
[in] Specifies the device identifier obtained as a result of a call to the IUPnPRegistrar::RegisterDevice method.
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 |