DispositivosDeReceberEntradaCrua
Allows PresentationHost.exe to discover the raw input devices (Human Interface Devices) that the host application is interested in.
HRESULT GetRawInputDevices( [out] IEnumRAWINPUTDEVICE **ppEnum );
Parâmetros
ppEnum
[out] A pointer to an IEnumRAWINPUTDEVICE for enumerating the raw input devices.
Property Value/Return Value
HRESULT:
S_OK - IEnumRAWINPUTDEVICE will only be used by PresentationHost.exe if S_OK is returned.
E_NOTIMPL
Comentários
Raw input devices are the set of input devices that includes keyboards, mice, and less traditional devices like remote controls.
Depois que a lista de dispositivos brutos de entrada foram recuperada, PresentationHost.exe registra-se com os dispositivos para receber mensagens de notificação de WM_INPUT.