This is a user callback interface that should be implemented and registered using SetUserEventsCallbackObject2 method of the ILMScrCap interface.
This interface should be used for C++, .NET or other programming languages that can cast a LONGLONG (__int64) to a pointer.
The filter will call this method every time a new mouse input event is posted.
Specifies the identifier of the mouse message. This parameter can be one of the following messages:
Value | Meaning |
---|---|
USEREVENT_LBUTTONDOWN | The left mouse button is pressed. |
USEREVENT_LBUTTONUP | The left mouse button is released. |
USEREVENT_MOUSEMOVE | The mouse moves. |
USEREVENT_MOUSEWHEEL | The mouse wheel is rotated. |
USEREVENT_RBUTTONDOWN | The right mouse button is pressed. |
USEREVENT_RBUTTONUP | The left mouse button is released. |
The X-coordinate of the mouse.
The Y-coordinate of the mouse.
Wheel delta where a positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120. This is valid only when the message is WM_MOUSEWHEEL.
Pointer to the user data, passed in a LONGLONG (__int64) variable.
The filter will call this method every time a new keyboard input event is posted.
Specifies the identifier of the keyboard message. This parameter can be one of the following messages:
Value | Meaning |
---|---|
USEREVENT_KEYDOWN | The nonsystem key is pressed. |
USEREVENT_ KEYUP | The nonsystem key is released. |
USEREVENT_SYSKEYDOWN | The system key is pressed. |
USEREVENT_SYSKEYUP | The system key is released. |
Specifies a virtual-key code.
Indicates if the ALT key is pressed or not.
Pointer to the user data, passed in a LONGLONG (__int64) variable.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document