$#K SNetEnumProviders

Enumerates all network providers installed on the system.  The callback function you provide is called once for each provider.  If desired, you can specify a minimum set of capabilities, and only providers which meet or exceed those capabilities will be returned.

Rather than calling this function manually, an application will generally call SNetSelectProvider() to present the user with a list of network providers and allow him to select and initialize one.

BOOL SNetEnumProviders (
	SNETCAPSPTR			mincaps,
	SNETENUMPROVIDERSPROC		callback
);

Parameters

mincaps
A pointer to an SNETCAPS structure specifying the minimum capabilities required of network providers.  The size field must be filled in which the size of the structure.  Any other field can contain a number to specify a minimum capability, or zero to specify that the field should be ignored.

If the mincaps parameter is NULL, all network providers are enumerated.

callback
The application’s callback function.  See EnumProvidersProc() for a description.

Return Value

This function returns TRUE for success or FALSE for failure.  The function can fail if:
•	No callback function is provided
•	The size field of the SNETCAPS structure is invalid