Kernel32 should create named objects with OBJ_OPENIF flag set.
Vitaliy Margolen
wine-patch at kievinfo.com
Sun Nov 20 12:56:40 CST 2005
STATUS_OBJECT_NAME_COLLISION is the critical error indicating that object
can not be create. While STATUS_OBJECT_NAME_EXISTS is not critical and
call succeeds opening an existent object.
If the OBJ_OPENIF flag is not specified NtXx call will fail.
ChangeLog:
Kernel32 should create named objects with OBJ_OPENIF flag set.
Handle STATUS_OBJECT_NAME_EXISTS explicitly as it's not mapped with RtlNtStatusToDosError
dlls/kernel/sync.c | 28 ++++++++++++++++++++--------
dlls/kernel/virtual.c | 7 +++++--
2 files changed, 25 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 64739369d936c81e1e01a4487b81b7b0d0ccabf6.diff
Type: text/x-patch
Size: 4992 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051120/9ddaf576/64739369d936c81e1e01a4487b81b7b0d0ccabf6-0001.diff
More information about the wine-patches
mailing list