public static extern ResultCode joySetCapture( IntPtr hwnd, int uJoyID, int uPeriod, [MarshalAs(UnmanagedType.Bool)] bool fChanged);