server: Fix type name of IoCompletion.
This commit is contained in:
parent
7a7fc1e604
commit
bdc223ad39
|
@ -818,7 +818,7 @@ static void test_query_object(void)
|
||||||
str = (UNICODE_STRING *)buffer;
|
str = (UNICODE_STRING *)buffer;
|
||||||
expected_len = sizeof(OBJECT_TYPE_INFORMATION) + str->Length + sizeof(WCHAR);
|
expected_len = sizeof(OBJECT_TYPE_INFORMATION) + str->Length + sizeof(WCHAR);
|
||||||
ok( len >= expected_len, "unexpected len %u\n", len );
|
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 );
|
"wrong/bad type name %s (%p)\n", wine_dbgstr_w(str->Buffer), str->Buffer );
|
||||||
pNtClose( handle );
|
pNtClose( handle );
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ static void completion_dump( struct object *obj, int verbose )
|
||||||
|
|
||||||
static struct object_type *completion_get_type( struct object *obj )
|
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) };
|
static const struct unicode_str str = { name, sizeof(name) };
|
||||||
return get_object_type( &str );
|
return get_object_type( &str );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue