server: Return correct object types in the get_directory_entry request.
diff --git a/server/timer.c b/server/timer.c
index fb2a2a8..5afe663 100644
--- a/server/timer.c
+++ b/server/timer.c
@@ -51,6 +51,7 @@
 };
 
 static void timer_dump( struct object *obj, int verbose );
+static struct object_type *timer_get_type( struct object *obj );
 static int timer_signaled( struct object *obj, struct thread *thread );
 static int timer_satisfied( struct object *obj, struct thread *thread );
 static unsigned int timer_map_access( struct object *obj, unsigned int access );
@@ -60,6 +61,7 @@
 {
     sizeof(struct timer),      /* size */
     timer_dump,                /* dump */
+    timer_get_type,            /* get_type */
     add_queue,                 /* add_queue */
     remove_queue,              /* remove_queue */
     timer_signaled,            /* signaled */
@@ -185,6 +187,13 @@
     fputc( '\n', stderr );
 }
 
+static struct object_type *timer_get_type( struct object *obj )
+{
+    static const WCHAR name[] = {'T','i','m','e','r'};
+    static const struct unicode_str str = { name, sizeof(name) };
+    return get_object_type( &str );
+}
+
 static int timer_signaled( struct object *obj, struct thread *thread )
 {
     struct timer *timer = (struct timer *)obj;