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

# XMEM_OPTION

> XMEM_OPTION

# XMEM\_OPTION

Especifica el tipo y el valor de una opción de memoria.

## Sintaxis

```cpp theme={null}
typedef struct XMEM_OPTION {  
    XMEM_OPTIONS Option;  
    union  
    {  
        BOOL Bool;  
        UINT64 Int;  
        PVOID Pointer;  
    } u;  
} XMEM_OPTION  
```

### Miembros

*Option*\
Tipo: [XMEM\_OPTIONS](/reference/system/xmem/enums/xmem_options)

El tipo de opción al que se aplica una configuración.

*Bool*\
Tipo: BOOL

El valor BOOL que se debe establecer si Type especifica un parámetro Bool.

*Int*\
Tipo: UINT64

El valor Int que se debe establecer si Type especifica un parámetro Int.

*Pointer*\
Tipo: PVOID

El valor de puntero que se debe establecer si Type especifica un parámetro Pointer.

## Comentarios

*XMEM\_OPTION* se usa con [XMemSetOption](/reference/system/xmem/functions/xmemsetoption) para especificar una opción de configuración y el valor que se va a establecer.

## Requisitos

**Encabezado:** xmem.h\
**Plataformas compatibles**: consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[xmem](/reference/system/xmem/xmem_members)


## Related topics

- [XMEM_OPTIONS](/es/reference/system/xmem/enums/xmem_options.md)
- [XMemSetOption](/es/reference/system/xmem/functions/xmemsetoption.md)
- [XMemVirtualQuery](/es/reference/system/xmem/functions/xmemvirtualquery.md)
- [XMEM_ALLOCATION_HOOKS](/es/reference/system/xmem/structs/xmem_allocation_hooks.md)
- [XMemGetWorkingSetStatistics](/es/reference/system/xmem/functions/xmemgetworkingsetstatistics.md)
