IUPnPRegistrar::UnregisterDeviceProvider method (upnphost.h)
The UnregisterDeviceProvider method permanently unregisters and unloads the device provider from the device host. The IUPnPDeviceProvider::Stop method is invoked.
Syntax
HRESULT UnregisterDeviceProvider(
[in] BSTR bstrProviderName
);
Parameters
[in] bstrProviderName
Specifies the provider name. Use the same name that was used in the call to RegisterDeviceProvider.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the method returns 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for