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

# APP_LOCAL_DEVICE_ID

> APP_LOCAL_DEVICE_ID

# APP\_LOCAL\_DEVICE\_ID

Especifica el identificador raíz de un dispositivo de entrada local.

## Sintaxis

```cpp theme={null}
typedef struct APP_LOCAL_DEVICE_ID {  
    BYTE value[APP_LOCAL_DEVICE_ID_SIZE];  
} APP_LOCAL_DEVICE_ID  
```

### Miembros

*value*\
Tipo: BYTE\[APP\_LOCAL\_DEVICE\_ID\_SIZE]

El identificador raíz de un dispositivo de entrada local.

## Comentarios

El método [IGameInput::FindDeviceFromId](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid) usa un puntero a una constante APP\_LOCAL\_DEVICE\_ID para recuperar un dispositivo basándose en el DeviceID.

La función [XInputGetDeviceId](/reference/input/xinputongameinput/functions/xinputgetdeviceid) usa un puntero a una estructura APP\_LOCAL\_DEVICE\_ID para devolver el APP\_LOCAL\_DEVICE\_ID del dispositivo en un índice de usuario determinado.

La estructura [XUserDeviceAssociationChange](/reference/system/xuser/structs/xuserdeviceassociationchange) incluye un miembro de estructura APP\_LOCAL\_DEVICE\_ID.

La función [XUserFindForDevice](/reference/system/xuser/functions/xuserfindfordevice) usa un puntero a una estructura APP\_LOCAL\_DEVICE\_ID para recuperar un identificador de usuario para un identificador de dispositivo específico.

Un APP\_LOCAL\_DEVICE\_ID "null" será igual al valor de **XUserNullDeviceId**.

## Requisitos

**Encabezado:** XUser.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[XUser](/reference/system/xuser/xuser_members)

[XUserLocalId](/reference/system/xuser/structs/xuserlocalid)

[IGameInput::FindDeviceFromId](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid)

[XInputGetDeviceId](/reference/input/xinputongameinput/functions/xinputgetdeviceid)


## Related topics

- [Método ILampArray::GetDeviceId](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getdeviceid.md)
- [XUserFindForDevice](/es/reference/system/xuser/functions/xuserfindfordevice.md)
- [IGameInput::FindDeviceFromId](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid.md)
- [XInputGetDeviceId](/es/reference/input/xinputongameinput/functions/xinputgetdeviceid.md)
- [XUserDeviceAssociationChange](/es/reference/system/xuser/structs/xuserdeviceassociationchange.md)
