server: Implemented EnumWindowStations and EnumDesktops.
diff --git a/server/protocol.def b/server/protocol.def
index ae5f2ac..a63b0cb 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -2359,6 +2359,15 @@
@END
+/* Enumerate window stations */
+@REQ(enum_winstation)
+ unsigned int index; /* current index */
+@REPLY
+ unsigned int next; /* next index */
+ VARARG(name,unicode_str); /* window station name */
+@END
+
+
/* Create a desktop */
@REQ(create_desktop)
unsigned int flags; /* desktop flags */
@@ -2401,6 +2410,16 @@
@END
+/* Enumerate desktops */
+@REQ(enum_desktop)
+ obj_handle_t winstation; /* handle to the window station */
+ unsigned int index; /* current index */
+@REPLY
+ unsigned int next; /* next index */
+ VARARG(name,unicode_str); /* window station name */
+@END
+
+
/* Get/set information about a user object (window station or desktop) */
@REQ(set_user_object_info)
obj_handle_t handle; /* handle to the object */