static extern uint SHRecognizeGesture(ref SHRGINFO shrg);
Declare Function SHRecognizeGesture Lib "aygshell.dll" (shrg As SHRGINFO) As Integer
return SHRecognizeGesture(ref shrginfo) == GN_CONTEXTMENU;