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

# WdDevicePropertyCallback

> WdDevicePropertyCallback

Reçoit une propriété de métadonnées d'appareil énumérée.

**Introduit dans :** [RIT 0.0.14-preview](https://docs.xbox.com/fr/reference/remoting/release-versions.md#release-versions).

## Syntaxe

```cpp theme={null}
typedef HRESULT(WD_REMOTE_ITERATION_CALL* WdDevicePropertyCallback)(
    _In_ const WdDeviceProperty* property,
    _In_opt_ void* context
);
```

### Paramètres

`property`\
Type : **const WdDeviceProperty\***

Descripteur de propriété et valeur JSON sérialisée empruntés.

`context`\
Type : **void\***

Pointeur appartenant à l'appelant fourni à l'API.

### Valeur de retour

Renvoyez `S_OK` pour continuer. Un HRESULT d'échec arrête l'énumération et est renvoyé par l'API.

## Remarques

Renvoyez S\_OK pour continuer ; un HRESULT d'échec arrête l'énumération.

Les rappels sont fournis pendant que l'API traite son résultat ou son instantané, avant le retour de l'appel d'API. Les pointeurs vers les structures et les chaînes sont empruntés pour la durée du rappel ; copiez les valeurs dont vous avez besoin ultérieurement. `context` est le pointeur appartenant à l'appelant fourni à l'API.

## Configuration requise

| Exigence | Valeur |
| - | - |
| **En-tête** | WdRemoteIteration.h |
| **Bibliothèque** | wdremoteapi.lib |
| **Package NuGet** | [Microsoft.GDK.RemoteIterationClientApi](https://aka.ms/GameDevRemoteAPI) |

## Voir aussi

* [API XBOX PC Remote Iteration](https://docs.xbox.com/fr/reference/remoting/remoteiteration_members.md)


## Related topics

- [WdEnumDeviceProperties](https://docs.xbox.com/fr/reference/remoting/functions/wdenumdeviceproperties.md)
- [API XBOX PC Remote Iteration](https://docs.xbox.com/fr/reference/remoting/remoteiteration_members.md)
- [WdGetDeviceProperty](https://docs.xbox.com/fr/reference/remoting/functions/wdgetdeviceproperty.md)
- [WdDeviceProperty](https://docs.xbox.com/fr/reference/remoting/structs/wddeviceproperty.md)
- [WdDeviceIdCallback](https://docs.xbox.com/fr/reference/remoting/callbacks/wddeviceidcallback.md)
