hookWindowMessage

open fun hookWindowMessage(message: Double, callback: (@R|kotlin/ParameterName|(name = String(wParam)) ERROR CLASS: Symbol not found for Buffer<*>, @R|kotlin/ParameterName|(name = String(lParam)) ERROR CLASS: Symbol not found for Buffer<*>) -> Unit)(source)

Hooks a windows message. The callback is called when the message is received in the WndProc.