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

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