Added a struct unicode_str to encapsulate object names.
diff --git a/server/handle.c b/server/handle.c
index 5eda36b..0a3a67b 100644
--- a/server/handle.c
+++ b/server/handle.c
@@ -521,11 +521,11 @@
}
/* open a new handle to an existing object */
-obj_handle_t open_object( const struct namespace *namespace, const WCHAR *name, size_t len,
+obj_handle_t open_object( const struct namespace *namespace, const struct unicode_str *name,
const struct object_ops *ops, unsigned int access, unsigned int attr )
{
obj_handle_t handle = 0;
- struct object *obj = find_object( namespace, name, len, attr );
+ struct object *obj = find_object( namespace, name, attr );
if (obj)
{
if (ops && obj->ops != ops)