IDirectPlayLobby2::EnumLocalApplications

Enumerates what applications are registered with DirectPlay.

HRESULT EnumLocalApplications(
LPDPENUMLOCALAPPLICATIONSCALLBACK lpEnumLocalAppCallback,
LPVOID lpContext,
DWORD dwFlags
);

Parameters

lpEnumLocalAppCallback

Pointer to the EnumLocalApplicationsCallback function that will be called for each enumerated application.

lpContext

Context passed to the callback function.

dwFlags

Reserved; must be zero.

Return Values

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

DPERR_GENERIC

DPERR_INVALIDINTERFACE

DPERR_INVALIDOBJECT

DPERR_INVALIDPARAMS

DPERR_OUTOFMEMORY

See Also

DPLAPPINFO