typedef struct _OBJECT_ATTRIBUTES
{
ULONG Length;
HANDLE RootDirectory;
PUNICODE_STRING ObjectName;
ULONG Attributes;
PVOID SecurityDescriptor;
PVOID SecurityQualityOfService;
}OBJECT_ATTRIBUTES,*POBJECT_ATTRIBUTES;

#define InitializeObjectAttributes(p,n,a,r,s){\
(p)->Length=sizeof(OBJECT_ATTRIBUTES);\
(p)->RootDirectory=r;\
(p)->Attributes=a;\
(p)->ObjectName=n;\
(p)->SecurityDescriptor=s;\
(p)->SecurityQualityOfService=NULL;\
}
上面一段代码什么意思??为什么我将后面几行代码最后的斜线去掉,编译就会出来很多错误??如果保留就没事??
还有,我将#define那一句后面的{\换行也出现了错误。很想知道是怎么回事。
有哪位大侠给讲一下??