server: Fix type name of IoCompletion.

This commit is contained in:
Qian Hong 2015-06-02 22:10:14 +08:00 committed by Alexandre Julliard
parent 7a7fc1e604
commit bdc223ad39
2 changed files with 2 additions and 2 deletions

View File

@ -818,7 +818,7 @@ static void test_query_object(void)
str = (UNICODE_STRING *)buffer;
expected_len = sizeof(OBJECT_TYPE_INFORMATION) + str->Length + sizeof(WCHAR);
ok( len >= expected_len, "unexpected len %u\n", len );
todo_wine ok( str->Buffer && !memcmp( str->Buffer, type_iocompletion, sizeof(type_iocompletion) ),
ok( str->Buffer && !memcmp( str->Buffer, type_iocompletion, sizeof(type_iocompletion) ),
"wrong/bad type name %s (%p)\n", wine_dbgstr_w(str->Buffer), str->Buffer );
pNtClose( handle );

View File

@ -109,7 +109,7 @@ static void completion_dump( struct object *obj, int verbose )
static struct object_type *completion_get_type( struct object *obj )
{
static const WCHAR name[] = {'C','o','m','p','l','e','t','i','o','n'};
static const WCHAR name[] = {'I','o','C','o','m','p','l','e','t','i','o','n'};
static const struct unicode_str str = { name, sizeof(name) };
return get_object_type( &str );
}