static NativeMethods()
 {
     var user32 = new UnmanagedLibrary( "user32" );
     _pGetGestureInfoPtr = user32.GetUnmanagedFunction<GetGestureInfoPtr>( "GetGestureInfo" );
     _pCloseGestureInfoHandle = user32.GetUnmanagedFunction<CloseGestureInfoHandlePtr>( "CloseGestureInfoHandle" );
     _pSetGestureConfig = user32.GetUnmanagedFunction<SetGestureConfigPtr>( "SetGestureConfig" );
 }
Exemple #2
0
        static NativeMethods()
        {
            var user32 = new UnmanagedLibrary("user32");

            _pGetGestureInfoPtr      = user32.GetUnmanagedFunction <GetGestureInfoPtr>("GetGestureInfo");
            _pCloseGestureInfoHandle = user32.GetUnmanagedFunction <CloseGestureInfoHandlePtr>("CloseGestureInfoHandle");
            _pSetGestureConfig       = user32.GetUnmanagedFunction <SetGestureConfigPtr>("SetGestureConfig");
        }