> ## 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.

# PartyEndpoint::GetDevice

> Obtient l'appareil associé à ce point de terminaison.

Obtient l'appareil associé à ce point de terminaison.

## Syntaxe

```cpp theme={null}
PartyError GetDevice(  
    PartyDevice** device  
)  
```

### Paramètres

**`device`**   [PartyDevice\*\*](/fr/services/playfab/multiplayer/networking/reference/classes/PartyDevice/partydevice)\
*library-allocated output*

L'appareil de sortie associé à ce point de terminaison.

### Valeur renvoyée

PartyError

`c_partyErrorSuccess` si l'appel a réussi ; sinon, un code d'erreur. La forme lisible du code d'erreur peut être obtenue via [PartyManager::GetErrorMessage()](/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Configuration requise

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

## Voir aussi

[PartyEndpoint](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/partyendpoint)


## Related topics

- [PartyEndpoint::GetLocal](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getlocal.md)
- [PartyEndpoint::GetNetwork](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getnetwork.md)
- [PartyEndpoint::GetEntityId](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentityid.md)
- [PartyEndpoint::GetEntityType](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentitytype.md)
- [PartyEndpoint::GetCustomContext](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getcustomcontext.md)
