You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use of DllImport for LockFile, LockFileEx & UnlockFile prevents running
under Silverlight
[DllImport( "kernel32", SetLastError = true )]
static extern int LockFile(int hFile, int dwFileOffsetLow, int
dwFileOffsetHigh, int nNumberOfBytesToLockLow, int nNumberOfBytesToLockHigh);
[DllImport( "kernel32", SetLastError = true )]
static extern int LockFileEx(int hFile, int dwFlags, int dwReserved,
int nNumberOfBytesToLockLow, int nNumberOfBytesToLockHigh, ref OVERLAPPED
lpOverlapped);
const int LOCKFILE_EXCLUSIVE_LOCK = 0x00000002;
[DllImport( "kernel32", SetLastError = true )]
static extern int UnlockFile( IntPtr hFile, int dwFileOffsetLow, int
dwFileOffsetHigh, int nNumberOfBytesToUnlockLow, int
nNumberOfBytesToUnlockHigh );
in referenced in os_win_c.cs and used by the locking routines
This prevents fulling running under Silverlight
Original issue reported on code.google.com by noah.hart@gmail.com on 7 Aug 2009 at 4:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
noah.hart@gmail.com
on 7 Aug 2009 at 4:08The text was updated successfully, but these errors were encountered: