user32: Fix enumeration for EnumWindowStations and EnumDesktops, try 5
John Klehm
xixsimplicityxix at gmail.com
Sat Mar 15 00:56:35 CDT 2008
On Sat, Mar 15, 2008 at 12:15 AM, Maarten Lankhorst
<m.b.lankhorst at gmail.com> wrote:
> Fixed names to have underscores.
>
>
>
>
+static void test_enumstations(void)
+{
+ BOOL ret;
+
+#if 0 /* Crashes instead */
+ SetLastError(0xbabefeed);
+ ret = EnumWindowStationsA(NULL, 0);
+ ok(!ret, "EnumWindowStationsA returned succesfully!\n");
+ ok(GetLastError() == ERROR_INVALID_PARAMETER, "LastError is set
to %08x\n", GetLastError());
+#endif
+
Dead code?
More information about the wine-devel
mailing list