IDirectPlayLobby::EnumLocalApplications

HRESULT EnumLocalApplications(

LPDPENUMLOCALAPPLICATIONS lpEnumLocalAppCallback,

LPVOID lpContext, DWORD dwFlags);

Enumerates what applications are registered with DirectPlay.

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

DPERR_GENERIC

DPERR_INVALIDINTERFACE

DPERR_INVALIDOBJECT

DPERR_INVALIDPARAMS

DPERR_OUTOFMEMORY

lpEnumLocalAppCallback

Address of the EnumLocalApplicationsCallback function that will be called for each enumerated application.

lpContext

Context passed to the callback function.

dwFlags

Reserved; must be zero.