[PATCH 02/10] ntdll/tests: add a test for STATUS_OBJECT_TYPE_MISMATCH
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 05:47:18 CDT 2011
Bernhard Loos <bernhardloos at googlemail.com> writes:
> @@ -774,6 +775,28 @@ static void test_query_object(void)
> pNtClose( handle );
> }
>
> +static void test_type_mismatch(void)
> +{
> + HANDLE h;
> + NTSTATUS res;
> + OBJECT_ATTRIBUTES attr;
> +
> + attr.Length = sizeof(attr);
> + attr.RootDirectory = 0;
> + attr.ObjectName = NULL;
> + attr.Attributes = 0;
> + attr.SecurityDescriptor = NULL;
> + attr.SecurityQualityOfService = NULL;
> +
Please avoid messing up the indentation.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list