Microsoft DirectX 8.1 (Visual Basic) |
Enumerates the specified lobbied application that is registered on the system. Before calling this method, call DirectPlay8LobbyClient.GetCountLocalPrograms to see how many lobbied applications are registered.
GetLocalProgram(lProgID As Long) As DPL_APPLICATION_INFO
Returns a DPL_APPLICATION_INFO type that describes the lobbied application.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
This method is generally called twice—once to obtain the size of the required buffer, and then with the correct buffer size.