Syntax
Parameters
handle PFMultiplayerHandle
The handle of the PFMultiplayer API instance.
stateChangeCount uint32_t
The number of changes, provided in the list specified by stateChanges, previously returned by PFMultiplayerStartProcessingLobbyStateChanges() that have now been handled by the title.
stateChanges PFLobbyStateChange* const*input array of size
stateChangeCount
The array of changes previously returned by PFMultiplayerStartProcessingLobbyStateChanges() that have now been handled by the title.
Return value
Type: HRESULTS_OK if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PFMultiplayerGetErrorMessage().
Remarks
This method informs the Lobby library that the state changes reported by a previous call to PFMultiplayerStartProcessingLobbyStateChanges() have now been handled by the title, so their associated resources can be reclaimed. You may call PFMultiplayerFinishProcessingLobbyStateChanges() with any number of state changes. Each state change returned by PFMultiplayerStartProcessingLobbyStateChanges() must be returned to PFMultiplayerFinishProcessingLobbyStateChanges() exactly once, but may be returned out of order and may be interleaved with state changes from other calls to PFMultiplayerStartProcessingLobbyStateChanges().Any resources associated with a specific state change are guaranteed to stay valid until the state change is returned to PFMultiplayerFinishProcessingLobbyStateChanges().
For best results, you should minimize the time you spend handling state changes before calling PFMultiplayerFinishProcessingLobbyStateChanges().
Requirements
Header: PFLobby.hSee also
PFLobby membersPFLobbyStateChange
PFMultiplayerStartProcessingLobbyStateChanges
