IRDPViewerInputSink::SendMouseWheelEvent 方法 (rdpencomapi.h)

[自 Windows 10 版本 1709 起,IRDPViewerInputSink 接口不再可用于 UWP 应用程序。 桌面应用仍支持它。]

发送鼠标滚轮事件消息。

语法

HRESULT SendMouseWheelEvent(
  UINT16 wheelRotation
);

参数

wheelRotation

滚轮移动的增量数。

返回值

如果该方法成功,则 返回值S_OK。 否则,返回值为错误代码。

要求

要求
最低受支持的客户端 Windows 8.1 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 R2 [仅限桌面应用]
目标平台 Windows
标头 rdpencomapi.h
DLL RdpEncom.dll

另请参阅

IRDPViewerInputSink