Vitaliy Margolen <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]