23 Nov
2005
23 Nov
'05
5:53 a.m.
Vitaliy Margolen <wine-patch(a)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(a)winehq.org