UPNP_E_INIT_FAILED signifies that UpnpInit cannot complete. The typical reason is failure to allocate sufficient resources.
Alphabetic index