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

# WdRemoteDirectoryEntry

> WdRemoteDirectoryEntry

Describes one remote file or directory.

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

## Syntax

```cpp theme={null}
struct WdRemoteDirectoryEntry
{
    const char* relativePath;
    WdRemoteDirectoryEntryType type;
    uint32_t attributes;
    uint64_t size;
    uint64_t creationTime;
    uint64_t lastWriteTime;
};
```

### Members

`relativePath`\
Type: **const char\***

UTF-8 path relative to the selected directory. Valid during the callback only.

`type`\
Type: **WdRemoteDirectoryEntryType**

Whether the entry is a file or directory.

`attributes`\
Type: **uint32\_t**

Requested Win32 attributes; zero when not requested.

`size`\
Type: **uint64\_t**

Requested file size in bytes; zero for directories or when not requested.

`creationTime`\
Type: **uint64\_t**

Requested Windows FILETIME value; zero when not requested.

`lastWriteTime`\
Type: **uint64\_t**

Requested Windows FILETIME value; zero when not requested.

## Remarks

Callback-provided structures and their strings are borrowed and must not be retained after the callback returns.

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

- [WdRemoteDirectoryCallback](https://docs.xbox.com/reference/remoting/callbacks/wdremotedirectorycallback.md)
- [XBOX PC Remote Iteration API](https://docs.xbox.com/reference/remoting/remoteiteration_members.md)
- [WdRemoteDirectoryEntryType](https://docs.xbox.com/reference/remoting/enums/wdremotedirectoryentrytype.md)
- [WdEnumRemoteDirectory](https://docs.xbox.com/reference/remoting/functions/wdenumremotedirectory.md)
- [WdRemoteDirectoryMetadataField](https://docs.xbox.com/reference/remoting/enums/wdremotedirectorymetadatafield.md)
