DirectPlay Animated Header -- IDirectPlayLobby2::EnumLocalApplications DirectPlay Animated Header -- IDirectPlayLobby2::EnumLocalApplications* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: IDirectPlayLobby2::EnumAddressTypes
*Next Topic: IDirectPlayLobby2::GetConnectionSettings


IDirectPlayLobby2::EnumLocalApplications


IDirectPlayLobby2 Interface

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

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page