vxug-VXAPI/Windows API/RfInitializeObjectAttributes.cpp
2022-07-15 12:39:45 -05:00

10 lines
250 B
C++

#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; \
}