Implement directory object in wineserver.

Alexandre Julliard julliard at winehq.org
Wed Nov 23 05:53:23 CST 2005


Vitaliy Margolen <wine-patch at kievinfo.com> writes:

> +/* get parts of an OBJECT_ATTRIBUTES into object_attr */
> +#define GET_OBJECT_ATTR(a,r,n) \
> +    get_req_unicode_str( n ); \
> +    (a)->rootdir    = (r)->rootdir; \
> +    (a)->attributes = (r)->attributes; \
> +    (a)->name       = (n);
> +

That's ugly, please pass parameters explicitly to the functions, don't
hide them inside an object_attr structure. Also directories inside the
server have to be specified as directory objects, not as handles.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list