Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a dispatcher for manually scheduling GameInput background work.
Syntax
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
Function result.
Remarks
Making a reference to the IGameInputDispatcher switches GameInput to "manual dispatch" mode. Releasing all references to the IGameInputDispatcher object returns GameInput to "automatic dispatch" mode. IGameInputDispatcher is its own interface which you can use to dispatch events and open wait handles.
Requirements
Header: GameInput.h
Library: gameinput.lib
Supported platforms: Windows
See also
Input API Overview
IGameInput
IGameInputDispatcher
IGameInputDispatcher::Dispatch
IGameInputDispatcher::OpenWaitHandle