Alexandre Julliard : make_requests:
Grab status names from async_terminate calls too.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 4 15:09:22 CST 2007
Module: wine
Branch: master
Commit: 60d6518c82770c9fe6262ce73d037fd7f33e90ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=60d6518c82770c9fe6262ce73d037fd7f33e90ce
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jan 4 13:51:12 2007 +0100
make_requests: Grab status names from async_terminate calls too.
---
server/trace.c | 3 +++
tools/make_requests | 6 +++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/server/trace.c b/server/trace.c
index fcd24e6..70284ce 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -3945,10 +3945,12 @@ static const struct
{
{ "ACCESS_DENIED", STATUS_ACCESS_DENIED },
{ "ACCESS_VIOLATION", STATUS_ACCESS_VIOLATION },
+ { "ALERTED", STATUS_ALERTED },
{ "ALIAS_EXISTS", STATUS_ALIAS_EXISTS },
{ "BAD_DEVICE_TYPE", STATUS_BAD_DEVICE_TYPE },
{ "BUFFER_OVERFLOW", STATUS_BUFFER_OVERFLOW },
{ "BUFFER_TOO_SMALL", STATUS_BUFFER_TOO_SMALL },
+ { "CANCELLED", STATUS_CANCELLED },
{ "CHILD_MUST_BE_VOLATILE", STATUS_CHILD_MUST_BE_VOLATILE },
{ "DEVICE_BUSY", STATUS_DEVICE_BUSY },
{ "DIRECTORY_NOT_EMPTY", STATUS_DIRECTORY_NOT_EMPTY },
@@ -3963,6 +3965,7 @@ static const struct
{ "ERROR_SEEK", 0xc0010000 | ERROR_SEEK },
{ "FILE_IS_A_DIRECTORY", STATUS_FILE_IS_A_DIRECTORY },
{ "FILE_LOCK_CONFLICT", STATUS_FILE_LOCK_CONFLICT },
+ { "HANDLES_CLOSED", STATUS_HANDLES_CLOSED },
{ "HANDLE_NOT_CLOSABLE", STATUS_HANDLE_NOT_CLOSABLE },
{ "INSTANCE_NOT_AVAILABLE", STATUS_INSTANCE_NOT_AVAILABLE },
{ "INVALID_CID", STATUS_INVALID_CID },
diff --git a/tools/make_requests b/tools/make_requests
index 58f6947..7e922be 100755
--- a/tools/make_requests
+++ b/tools/make_requests
@@ -241,7 +241,11 @@ sub GET_ERROR_NAMES()
{
if (/set_error\s*\(\s*STATUS_(\w+)\s*\)/)
{
- $errors{$1} = "STATUS_$1";
+ $errors{$1} = "STATUS_$1" unless $1 eq "SUCCESS";
+ }
+ elsif (/async_terminate_\w+\s*\(.*,\s*STATUS_(\w+)\s*\)/)
+ {
+ $errors{$1} = "STATUS_$1" unless $1 eq "SUCCESS";
}
elsif (/set_win32_error\s*\(\s*(\w+)\s*\)/)
{
More information about the wine-cvs
mailing list