LockFile()
does not have waiting timeout, LockFileEx()
does not, either.
If I want to wait for file-lock with timeout, how would I go about it?
That is, how do I implement the following:
DWORD LockFileTimed(HANDLE h,
DWORD milli,
__in DWORD dwFileOffsetLow,
__in DWORD dwFileOffsetHigh,
__in DWORD nNumberOfBytesToLockLow,
__in DWORD nNumberOfBytesToLockHigh)