3 May
2004
3 May
'04
12:02 p.m.
Jakob Eriksson <jakov(a)vmlinux.org> writes:
+ lockfileex_capable = dll_capable("kernel32", "LockFileEx"); + if (lockfileex_capable) + { + /* Test for broken LockFileEx a la Windows 95 OSR2. */ + if (LockFileEx( handle, 0, 0, 100, 0, &overlapped ))
Can I ask somebody to explain me how this works? Shouldn't the LockFileEx call be satisfied on program startup even if we won't call it? -- Thanks, Feri.