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

# WdDeviceInfoResultCallback

> WdDeviceInfoResultCallback

Receives one saved device result.

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

## Syntax

```cpp theme={null}
typedef void(WD_REMOTE_ITERATION_CALL* WdDeviceInfoResultCallback)(
    _In_ const WdDeviceInfo* device,
    _In_opt_ void* context
);
```

### Parameters

`device`\
Type: **const WdDeviceInfo\***

Borrowed saved-device record.

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

Caller-owned pointer supplied to the API.

### Return value

This callback returns no value.

## Remarks

Returns void. The single-result query has no continuation decision.

Callbacks are delivered while the API processes its result or snapshot, before the API call returns. Pointers to structures and strings are borrowed for the callback duration; copy values needed later. `context` is the caller-owned pointer supplied to the API.

## Requirements

| Requirement | Value |
| - | - |
| **Header** | WdRemoteIteration.h |
| **Library** | wdremoteapi.lib |
| **NuGet Package** | [Microsoft.GDK.RemoteIterationClientApi](https://aka.ms/GameDevRemoteAPI) |

## See also

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


## Related topics

- [WdGetDevice](https://docs.xbox.com/reference/remoting/functions/wdgetdevice.md)
- [WdGetDefaultDevice](https://docs.xbox.com/reference/remoting/functions/wdgetdefaultdevice.md)
- [XBOX PC Remote Iteration API](https://docs.xbox.com/reference/remoting/remoteiteration_members.md)
- [WdDeviceInfoCallback](https://docs.xbox.com/reference/remoting/callbacks/wddeviceinfocallback.md)
- [WdEnumDevices](https://docs.xbox.com/reference/remoting/functions/wdenumdevices.md)
