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

# IGameInput::CreateDispatcher

> IGameInput::CreateDispatcher

Creates a dispatcher for manually scheduling GameInput background work.

## Syntax

```cpp theme={null}
HRESULT CreateDispatcher(
    IGameInputDispatcher** dispatcher
);
```

### Parameters

*dispatcher*   \_COM\_Outptr\_\
Type: IGameInputDispatcher\*\*

The created dispatcher which will be used to handle background work.

### Return value

Type: HRESULT

[Input API Overview](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[IGameInput](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/igameinput.md)\
[IGameInputDispatcher](https://docs.xbox.com/reference/input/gameinput/interfaces/IGameInputDispatcher/igameinputdispatcher.md)\
[IGameInputDispatcher::Dispatch](https://docs.xbox.com/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_dispatch.md)\
[IGameInputDispatcher::OpenWaitHandle](https://docs.xbox.com/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_openwaithandle.md)

## Version History

| Version | Changes |
| - | - |
| **v0** | Introduced. |


## Related topics

- [IGameInput::CreateAggregateDevice](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createaggregatedevice.md)
- [IGameInput (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/igameinput.md)
- [GameInput work queues](https://docs.xbox.com/build/core-features/common/input/advanced/input-work-queues.md)
- [IGameInputDispatcher (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/IGameInputDispatcher/igameinputdispatcher.md)
- [Dispatch](https://docs.xbox.com/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_dispatch.md)
