hookWindowMessage

fun hookWindowMessage(message: Double, callback: (wParam: Buffer, lParam: Buffer) -> Unit)(source)

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