IUPnPDeviceProvider::Start method (upnphost.h)

The Start method starts the device provider. The device host invokes this method after it loads the device provider This method performs any initialization required by the device provider.

Syntax

HRESULT Start(
  [in] BSTR bstrInitString
);

Parameters

[in] bstrInitString

Identifies the initialization string specific to a device provider. This string is the same as the one passed to IUPnPRegistrar::RegisterDeviceProvider at registration.

Return value

When implementing this method, return S_OK if the method succeeds. Otherwise, return one of the COM error codes defined in WinError.h.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnphost.h
DLL Upnphost.dll

See also

IUPnPDeviceProvider

IUPnPDeviceProvider::Stop