EnumLocalApplicationsCallback

Application-defined callback function for the IDirectPlayLobby3::EnumLocalApplications method.

Syntax

BOOL FAR PASCAL EnumLocalApplicationsCallback(
  LPCDPLAPPINFO lpAppInfo,
  LPVOID lpContext,
  DWORD dwFlags
  );

Parameters

lpAppInfo
Pointer to a read-only DPLAPPINFO structure containing information about the application being enumerated.
lpContext
Context passed from the IDirectPlayLobby3::EnumLocalApplications call.
dwFlags
Reserved; do not use.

Return Value

Returns TRUE to continue the enumeration or FALSE to stop it.

Remarks

Any pointers returned in a callback function are temporary and are valid only in the body of the callback function. If the application needs to save pointer information, it must allocate memory to hold the data, copy the data, and then store the pointer to this new data. In this function, lpAppInfo is temporary. Also note that the pointers inside the structure specified in the lpAppInfo parameter - lpszAppNameA and lpszAppName - are also temporary.


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