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