Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.GetCountServiceProviders

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

GetCountServiceProviders([lFlags As Long]) As Long

Parts

lFlags
Reserved. Must be 0.

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