mirror of
https://github.com/vxunderground/VX-API
synced 2024-06-16 11:58:36 +00:00
Create RfInitializeObjectAttributes.cpp
This commit is contained in:
parent
c5a260d790
commit
294ccb9621
9
Windows API/RfInitializeObjectAttributes.cpp
Normal file
9
Windows API/RfInitializeObjectAttributes.cpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#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; \
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user