DirectPlayEnumerate

LT DirectPlayEnumerate(

LPDPENUMDPCALLBACK lpEnumDPCallback, LPVOID lpContext);

Enumerates the DirectPlay service providers installed on the system.

·Returns DP_OK if successful, or one of the following error values otherwise:

DPERR_EXCEPTION DPERR_GENERIC

lpEnumDPCallback

Address for the EnumDPCallback function that will be called with a description of each DirectPlay service provider interface installed in the system.

lpContext

Address for a caller-defined structure that will be passed to the callback function each time the function is invoked.