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

# IGameInputDispatcher::OpenWaitHandle

> IGameInputDispatcher::OpenWaitHandle

# IGameInputDispatcher::OpenWaitHandle

Devuelve un identificador de espera que se señala cuando hay trabajo disponible en la cola del asignador.

## Sintaxis

```cpp theme={null}
HRESULT OpenWaitHandle(
    HANDLE* waitHandle
);
```

### Parámetros

*waitHandle*   \_Outptr\_result\_nullonfailure\_\\
Tipo: HANDLE\*

El identificador de espera que se devuelve.

### Valor devuelto

Tipo: HRESULT

Resultado de la función

### Comentarios

`IGameInputDispatcher::OpenWaitHandle` devuelve un identificador de espera. Este método se señala cuando hay trabajo disponible en la cola del asignador. Llame a la función [CloseHandle](https://learn.microsoft.com/windows/desktop/api/handleapi/nf-handleapi-closehandle) en el identificador cuando ya no lo necesite. Para casos de uso intermedios y avanzados de la API de GameInput, consulte [Temas avanzados de GameInput](/build/core-features/common/input/advanced/input-advanced-topics).

## Requisitos

**Encabezado:** GameInput.h

**Biblioteca:** xgameruntime.lib

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

## Consulte también

[Información general de GameInput](/build/core-features/common/input/overviews/input-overview)\
[IGameInputDispatcher](/reference/input/gameinput/interfaces/IGameInputDispatcher/igameinputdispatcher)

## Historial de versiones

| Versión | Cambios       |
| ------- | ------------- |
| **v0**  | Se introdujo. |


## Related topics

- [IGameInput::CreateDispatcher](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createdispatcher.md)
- [IGameInputDispatcher::Dispatch](/es/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_dispatch.md)
- [Colas de trabajo de GameInput](/es/build/core-features/common/input/advanced/input-work-queues.md)
- [GameInput](/es/reference/input/gameinput/gameinput_members.md)
- [Wait](/es/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_wait_public.md)
