Microsoft DirectX 8.1 (Visual Basic) |
Retrieves information for the specified service provider. Before calling this method, call the DirectPlay8Peer.GetCountServiceProviders method to obtain the number of registered service providers available to the application.
GetServiceProvider(lIndex As Long) As DPN_SERVICE_PROVIDER_INFO
Returns a DPN_SERVICE_PROVIDER_INFO type that describes the service provider.
If the method fails, Err.Number can be set to the following value.
DPNERR_INVALIDPARAM |