Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Server.GetCountServiceProviders

Retrieves the number of registered service providers available to the application.

GetCountServiceProviders() As Long

Return Values

Returns the number of registered service providers available to the application.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDOBJECT