> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFLobbyCreateAndJoinLobbyCompletedStateChange

> Détails du changement d'état CreateAndJoinLobbyCompleted de PlayFab Multiplayer, fourni lorsqu'un client a fini de créer et de rejoindre un nouveau lobby.

Informations propres au type de changement d'état *CreateAndJoinLobbyCompleted*.

## Syntaxe

```cpp theme={null}
struct PFLobbyCreateAndJoinLobbyCompletedStateChange : PFLobbyStateChange {  
    HRESULT result;  
    void* asyncContext;  
    PFLobbyHandle lobby;  
}  
```

### Membres

**`result`**   HRESULT

Indique le résultat de l'opération CreateAndJoinLobby.

La forme lisible de ce résultat peut être récupérée via [PFMultiplayerGetErrorMessage()](/fr/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayergeterrormessage).

**`asyncContext`**   void\*

Contexte asynchrone fourni à l'appel associé à ce changement d'état.

**`lobby`**   PFLobbyHandle\
*ne doit pas être null*

Lobby créé et rejoint.

## Configuration requise

**En-tête :** PFLobby.h

## Voir aussi

[Membres de PFLobby](/fr/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFMultiplayerCreateAndJoinLobby](/fr/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandjoinlobby.md)
- [PFLobbyGetLobbyId](/fr/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetlobbyid.md)
- [PFLobbyGetConnectionString](/fr/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetconnectionstring.md)
- [Démarrage rapide du SDK Lobby](/fr/services/playfab/multiplayer/lobby/lobby-getting-started.md)
- [Intégrer Party à Lobby à l'aide du SDK Multiplayer](/fr/services/playfab/multiplayer/networking/party-lobby-integration.md)
