Show / Hide Table of Contents

Struct HookData.Mouse

Hook data for the hook procedure set by WindowsHook.Mouse. More info: API LowLevelMouseProc.

public struct HookData.Mouse

Namespace: Au.Types
Assembly: Au.dll

Fields

Name Description
hook

The caller object of your hook procedure. For example can be used to unhook.

Properties

Name Description
Button

Converts HookData.Mouse.Event to MButton.

Event

What event it is (button, move, wheel).

IsButton

Is button event (down or up).

IsButtonDown

Is button-down event.

IsButtonUp

Is button-up event.

IsInjected

true if the event was generated by API such as SendInput. false if the event was generated by the mouse.

IsInjectedByAu

true if the event was generated by functions of this library.

IsMove

Is mouse-move event.

IsWheel

Is wheel event.

WheelValue

Wheel rotation amount, 120 for 1 full tick. Negative if backward. Usually 120 or -120, but some devices or software may produce smaller or bigger values.

dwExtraInfo

API MSLLHOOKSTRUCT

flags

API MSLLHOOKSTRUCT

mouseData

API MSLLHOOKSTRUCT

pt

API MSLLHOOKSTRUCT

time

API MSLLHOOKSTRUCT

Methods

Name Description
BlockEvent()

Call this function to steal this event from other hooks and apps.

ToString()