DirectX SDK |
EnumLocalApplicationsCallback is an application-defined callback function for the IDirectPlayLobby3::EnumLocalApplications method.
BOOL FAR PASCAL EnumLocalApplicationsCallback( LPCDPLAPPINFO lpAppInfo, LPVOID lpContext, DWORD dwFlags );
Returns TRUE to continue the enumeration or FALSE to stop it.
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplobby.h.