Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/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 |
See Also
Reference
IUPnPDeviceControl
IUPnPRegistrar
IUPnPRegistrar::RegisterDevice