dlls/kernel/tests/file.c

Ferenc Wagner wferi at afavant.elte.hu
Mon May 3 07:02:04 CDT 2004


Jakob Eriksson <jakov at 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.



More information about the wine-devel mailing list