This method of the DirectPlay2 Class enumerates the DirectPlay service providers installed on the system. Use the stopEnumServiceProviders method to stop the enumeration.
public void enumServiceProviders(IEnumServiceProvidersCallback callback, IUnknown context);
callback | The IenumServiceProvidersCallback interface that contains the callback function to be called with a description of each DirectPlay service provider interface installed in the system. |
context | The caller-defined data that is passed to the callback function each time the function is invoked. |
This method enumerates service providers installed in the system, even though the system might not be capable of using those service providers. For example, a TAPI service provider can be enumerated, even though the system might not have a modem installed.