server/advapi32: Report administrator ownership by default for registry objects (try 4).

Alexandre Julliard julliard at winehq.org
Fri Feb 22 04:13:37 CST 2013


"Erich E. Hoover" <ehoover at mymail.mines.edu> writes:

> +    else
> +    {
> +        struct object_type *type = obj->ops->get_type( obj );
> +        static const WCHAR key_type[] = {'K','e','y'};
> +        const WCHAR *type_name = NULL;
> +        data_size_t type_len = 0;
> +
> +        if (!type) goto done;
> +        type_name = get_object_name( &type->obj, &type_len );
> +        release_object( type );
> +        if (memcmp(type_name, key_type, type_len) != 0) goto done;
> +    }

You clearly need to spend more time studying how the server works.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list