[Wine-patches] [eterhack] [0010/0021] Re-generate some files.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Янв 28 21:10:07 MSK 2009


---
 configure                      |  264 ++++++++++++++++++++++++++++++++++++++--
 configure.ac                   |    1 +
 include/Makefile.in            |    1 +
 include/config.h.in            |    3 +
 include/wine/server_protocol.h |   19 +++-
 server/request.h               |    5 +
 server/trace.c                 |   16 +++
 7 files changed, 299 insertions(+), 10 deletions(-)

diff --git a/configure b/configure
index 8773834..391f8d2 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for WINE на Etersoft 1.0.10-eter4.
+# Generated by GNU Autoconf 2.63 for WINE на Etersoft 1.0.10-eter6.
 #
 # Report bugs to <wine на etersoft.ru>.
 #
@@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='WINE на Etersoft'
 PACKAGE_TARNAME='wine_name'
-PACKAGE_VERSION='1.0.10-eter4'
-PACKAGE_STRING='WINE на Etersoft 1.0.10-eter4'
+PACKAGE_VERSION='1.0.10-eter6'
+PACKAGE_STRING='WINE на Etersoft 1.0.10-eter6'
 PACKAGE_BUGREPORT='wine на etersoft.ru'
 
 ac_unique_file="server/atom.c"
@@ -679,6 +679,7 @@ GPHOTO2LIBS
 gphoto2port_devel
 gphoto2_devel
 USBLIBS
+IEEE1284LIBS
 SANEINCL
 sane_devel
 GNUTLSINCL
@@ -834,6 +835,7 @@ with_gphoto
 with_glu
 with_gnutls
 with_hal
+with_ieee1284
 with_jack
 with_jpeg
 with_ldap
@@ -1423,7 +1425,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures WINE на Etersoft 1.0.10-eter4 to adapt to many kinds of systems.
+\`configure' configures WINE на Etersoft 1.0.10-eter6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1492,7 +1494,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of WINE на Etersoft 1.0.10-eter4:";;
+     short | recursive ) echo "Configuration of WINE на Etersoft 1.0.10-eter6:";;
    esac
   cat <<\_ACEOF
 
@@ -1524,6 +1526,7 @@ Optional Packages:
   --without-glu           do not use the GLU library
   --without-gnutls        do not use GnuTLS (schannel support)
   --without-hal           do not use HAL (dynamic device support)
+  --without-ieee1284      do not use libieee1284
   --without-jack          do not use the Jack sound support
   --without-jpeg          do not use JPEG
   --without-ldap          do not use LDAP
@@ -1627,7 +1630,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-WINE на Etersoft configure 1.0.10-eter4
+WINE на Etersoft configure 1.0.10-eter6
 generated by GNU Autoconf 2.63
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1641,7 +1644,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by WINE на Etersoft $as_me 1.0.10-eter4, which was
+It was created by WINE на Etersoft $as_me 1.0.10-eter6, which was
 generated by GNU Autoconf 2.63.  Invocation command line was
 
   $ $0 $@
@@ -2154,6 +2157,12 @@ if test "${with_hal+set}" = set; then
 fi
 
 
+# Check whether --with-ieee1284 was given.
+if test "${with_ieee1284+set}" = set; then
+  withval=$with_ieee1284;
+fi
+
+
 # Check whether --with-jack was given.
 if test "${with_jack+set}" = set; then
   withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
@@ -14574,6 +14583,234 @@ esac
 fi
 
 
+IEEE1284LIBS=""
+
+if test "x$with_ieee1284" != "xno"
+then
+    if test "${ac_cv_header_ieee1284_h+set}" = set; then
+  { $as_echo "$as_me:$LINENO: checking for ieee1284.h" >&5
+$as_echo_n "checking for ieee1284.h... " >&6; }
+if test "${ac_cv_header_ieee1284_h+set}" = set; then
+  $as_echo_n "(cached) " >&6
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ieee1284_h" >&5
+$as_echo "$ac_cv_header_ieee1284_h" >&6; }
+else
+  # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking ieee1284.h usability" >&5
+$as_echo_n "checking ieee1284.h usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <ieee1284.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking ieee1284.h presence" >&5
+$as_echo_n "checking ieee1284.h presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ieee1284.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: present but cannot be compiled" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h:     check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: ieee1284.h:     check for missing prerequisite headers?" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: see the Autoconf documentation" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h:     section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: ieee1284.h:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: proceeding with the preprocessor's result" >&2;}
+    { $as_echo "$as_me:$LINENO: WARNING: ieee1284.h: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: ieee1284.h: in the future, the compiler will take precedence" >&2;}
+    ( cat <<\_ASBOX
+## ------------------------------- ##
+## Report this to wine на etersoft.ru ##
+## ------------------------------- ##
+_ASBOX
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for ieee1284.h" >&5
+$as_echo_n "checking for ieee1284.h... " >&6; }
+if test "${ac_cv_header_ieee1284_h+set}" = set; then
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_header_ieee1284_h=$ac_header_preproc
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ieee1284_h" >&5
+$as_echo "$ac_cv_header_ieee1284_h" >&6; }
+
+fi
+if test "x$ac_cv_header_ieee1284_h" = x""yes; then
+  { $as_echo "$as_me:$LINENO: checking for ieee1284_find_ports in -lieee1284" >&5
+$as_echo_n "checking for ieee1284_find_ports in -lieee1284... " >&6; }
+if test "${ac_cv_lib_ieee1284_ieee1284_find_ports+set}" = set; then
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lieee1284  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ieee1284_find_ports ();
+int
+main ()
+{
+return ieee1284_find_ports ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext && {
+	 test "$cross_compiling" = yes ||
+	 $as_test_x conftest$ac_exeext
+       }; then
+  ac_cv_lib_ieee1284_ieee1284_find_ports=yes
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_cv_lib_ieee1284_ieee1284_find_ports=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ieee1284_ieee1284_find_ports" >&5
+$as_echo "$ac_cv_lib_ieee1284_ieee1284_find_ports" >&6; }
+if test "x$ac_cv_lib_ieee1284_ieee1284_find_ports" = x""yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBIEEE1284 1
+_ACEOF
+
+             IEEE1284LIBS="-lieee1284"
+fi
+
+fi
+
+
+fi
+if test "x$ac_cv_lib_ieee1284_ieee1284_find_ports" = "x"; then
+  case "x$with_ieee1284" in
+  x)   wine_notices="$wine_notices|libieee1284 ${notice_platform}development files not found, no dynamic device support." ;;
+  xno) ;;
+  *)   { { $as_echo "$as_me:$LINENO: error: libieee1284 ${notice_platform}development files not found, no dynamic device support.
+This is an error since --with-ieee1284 was requested." >&5
+$as_echo "$as_me: error: libieee1284 ${notice_platform}development files not found, no dynamic device support.
+This is an error since --with-ieee1284 was requested." >&2;}
+   { (exit 1); exit 1; }; } ;;
+esac
+fi
+
+
 USBLIBS=""
 
 if test "$ac_cv_header_usb_h" = "yes" -a "x$with_usb" != "xno"
@@ -26962,6 +27199,14 @@ dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in dlls/Maketest.rule
 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	dlls/parport.sys/Makefile"
+test "x$enable_parport_sys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
+	parport.sys"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+dlls/parport.sys/Makefile: dlls/parport.sys/Makefile.in dlls/Makedll.rules"
+ac_config_files="$ac_config_files dlls/parport.sys/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	dlls/pdh/Makefile"
 test "x$enable_pdh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
 	pdh"
@@ -29083,7 +29328,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by WINE на Etersoft $as_me 1.0.10-eter4, which was
+This file was extended by WINE на Etersoft $as_me 1.0.10-eter6, which was
 generated by GNU Autoconf 2.63.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -29146,7 +29391,7 @@ Report bugs to <bug-autoconf на gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_version="\\
-WINE на Etersoft config.status 1.0.10-eter4
+WINE на Etersoft config.status 1.0.10-eter6
 configured by $0, generated by GNU Autoconf 2.63,
   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
@@ -29522,6 +29767,7 @@ do
     "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
     "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
     "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
+    "dlls/parport.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/parport.sys/Makefile" ;;
     "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
     "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
     "dlls/pidgen/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pidgen/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 5ca281d..decfe63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2060,6 +2060,7 @@ WINE_CONFIG_MAKEFILE([dlls/olesvr32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_D
 WINE_CONFIG_MAKEFILE([dlls/olethk32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/opengl32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/opengl32/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
+WINE_CONFIG_MAKEFILE([dlls/parport.sys/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/pdh/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/pdh/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
 WINE_CONFIG_MAKEFILE([dlls/pidgen/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
diff --git a/include/Makefile.in b/include/Makefile.in
index 98bd715..5a4e3bb 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -160,6 +160,7 @@ SRCDIR_INCLUDES = \
 	ddk/ntddk.h \
 	ddk/ntddser.h \
 	ddk/ntddtape.h \
+	ddk/parallel.h \
 	ddk/usb.h \
 	ddk/usb100.h \
 	ddk/usb200.h \
diff --git a/include/config.h.in b/include/config.h.in
index de2e949..08a713d 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -330,6 +330,9 @@
 /* Define to 1 if you have the `i386' library (-li386). */
 #undef HAVE_LIBI386
 
+/* Define if you have the libieee1284 library and header */
+#undef HAVE_LIBIEEE1284
+
 /* Define if you have the ncursesw library (-lncursesw) */
 #undef HAVE_LIBNCURSESW
 
diff --git a/include/wine/server_protocol.h b/include/wine/server_protocol.h
index f914972..3e70299 100644
--- a/include/wine/server_protocol.h
+++ b/include/wine/server_protocol.h
@@ -4506,6 +4506,20 @@ struct get_device_name_reply
 };
 
 
+
+struct get_device_request
+{
+    struct request_header __header;
+    obj_handle_t manager;
+    /* VARARG(name,unicode_str); */
+};
+struct get_device_reply
+{
+    struct reply_header __header;
+    client_ptr_t user_ptr;
+};
+
+
 enum request
 {
     REQ_new_process,
@@ -4745,6 +4759,7 @@ enum request
     REQ_get_window_layered_info,
     REQ_set_window_layered_info,
     REQ_get_device_name,
+    REQ_get_device,
     REQ_NB_REQUESTS
 };
 
@@ -4989,6 +5004,7 @@ union generic_request
     struct get_window_layered_info_request get_window_layered_info_request;
     struct set_window_layered_info_request set_window_layered_info_request;
     struct get_device_name_request get_device_name_request;
+    struct get_device_request get_device_request;
 };
 union generic_reply
 {
@@ -5231,8 +5247,9 @@ union generic_reply
     struct get_window_layered_info_reply get_window_layered_info_reply;
     struct set_window_layered_info_reply set_window_layered_info_reply;
     struct get_device_name_reply get_device_name_reply;
+    struct get_device_reply get_device_reply;
 };
 
-#define SERVER_PROTOCOL_VERSION 10382
+#define SERVER_PROTOCOL_VERSION 10383
 
 #endif /* __WINE_WINE_SERVER_PROTOCOL_H */
diff --git a/server/request.h b/server/request.h
index 7d0174e..1f9714c 100644
--- a/server/request.h
+++ b/server/request.h
@@ -348,6 +348,7 @@ DECL_HANDLER(add_fd_completion);
 DECL_HANDLER(get_window_layered_info);
 DECL_HANDLER(set_window_layered_info);
 DECL_HANDLER(get_device_name);
+DECL_HANDLER(get_device);
 
 #ifdef WANT_REQUEST_HANDLERS
 
@@ -591,6 +592,7 @@ static const req_handler req_handlers[REQ_NB_REQUESTS] =
     (req_handler)req_get_window_layered_info,
     (req_handler)req_set_window_layered_info,
     (req_handler)req_get_device_name,
+    (req_handler)req_get_device,
 };
 
 C_ASSERT( sizeof(affinity_t) == 8 );
@@ -1889,6 +1891,9 @@ C_ASSERT( FIELD_OFFSET(struct set_window_layered_info_request, flags) == 24 );
 C_ASSERT( sizeof(struct set_window_layered_info_request) == 32 );
 C_ASSERT( FIELD_OFFSET(struct get_device_name_request, handle) == 12 );
 C_ASSERT( sizeof(struct get_device_name_reply) == 8 );
+C_ASSERT( FIELD_OFFSET(struct get_device_request, manager) == 12 );
+C_ASSERT( FIELD_OFFSET(struct get_device_reply, user_ptr) == 8 );
+C_ASSERT( sizeof(struct get_device_reply) == 16 );
 
 #endif  /* WANT_REQUEST_HANDLERS */
 
diff --git a/server/trace.c b/server/trace.c
index aaaa3ac..5a89e59 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -4025,6 +4025,19 @@ static void dump_get_device_name_reply( const struct get_device_name_reply *req
     dump_varargs_unicode_str( cur_size );
 }
 
+static void dump_get_device_request( const struct get_device_request *req )
+{
+    fprintf( stderr, " manager=%04x,", req->manager );
+    fprintf( stderr, " name=" );
+    dump_varargs_unicode_str( cur_size );
+}
+
+static void dump_get_device_reply( const struct get_device_reply *req )
+{
+    fprintf( stderr, " user_ptr=" );
+    dump_uint64( &req->user_ptr );
+}
+
 static const dump_func req_dumpers[REQ_NB_REQUESTS] = {
     (dump_func)dump_new_process_request,
     (dump_func)dump_get_new_process_info_request,
@@ -4263,6 +4276,7 @@ static const dump_func req_dumpers[REQ_NB_REQUESTS] = {
     (dump_func)dump_get_window_layered_info_request,
     (dump_func)dump_set_window_layered_info_request,
     (dump_func)dump_get_device_name_request,
+    (dump_func)dump_get_device_request,
 };
 
 static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {
@@ -4503,6 +4517,7 @@ static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {
     (dump_func)dump_get_window_layered_info_reply,
     NULL,
     (dump_func)dump_get_device_name_reply,
+    (dump_func)dump_get_device_reply,
 };
 
 static const char * const req_names[REQ_NB_REQUESTS] = {
@@ -4743,6 +4758,7 @@ static const char * const req_names[REQ_NB_REQUESTS] = {
     "get_window_layered_info",
     "set_window_layered_info",
     "get_device_name",
+    "get_device",
 };
 
 static const struct
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches