Guest User

Untitled

a guest
Jul 29th, 2012
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. If hHook.Equals(0) Then
  2. hookproc = AddressOf MouseHookProc
  3. hHook = SetWindowsHookEx(WH_MOUSE, _
  4. hookproc, _
  5. IntPtr.Zero, _
  6. AppDomain.GetCurrentThreadId())
  7. If hHook.Equals(0) Then
  8. Me.RichTextBox1.AppendText("SetWindowsHookEx Failed")
  9. Return
  10. End If
Advertisement
Add Comment
Please, Sign In to add comment