IUPnPDeviceControl::Initialize
This method is invoked by the device host to initialize the device.
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 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
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.