Skip to main content
IUPnPServices interface

The IUPnPServices interface enumerates a collection of services.

When to implement

You should not implement this interface. The Microsoft standard implementation provides complete functionality.

When to use

Use this interface to enumerate the list of services associated with a device.

Be aware that use of these properties cause the UPnP framework to contact the service across the network. If the service does not exist, the application is blocked until the connection request fails. It is recommended that applications use the Item property in most instances, and reserve the enumeration for instances when an application is starting up.

Note  For C++, all properties are retrieved by a method that is called by prepending get_ to the name of the property. For example, if the property's name is SomeState, get_SomeState retrieves the property.
 

Members

The IUPnPServices interface inherits from the IDispatch interface. IUPnPServices also has these types of members:

Methods

The IUPnPServices interface has these methods.

MethodDescription
This interface has no methods.

N/A

 

Properties

The IUPnPServices interface has these properties.

PropertyDescription

_NewEnum

Enumerator interface for the collection.

Count

Number of services in the collection.

Item

An IUPnPService interface in the collection.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

Upnp.h

DLL

Upnp.dll