[NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType()

This commit is contained in:
Pierre Schweitzer 2018-12-04 19:20:47 +01:00
parent 73e7a5d474
commit 67e7399164
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 2 additions and 2 deletions

View file

@ -527,7 +527,7 @@ typedef struct _RESERVE_IRP_ALLOCATOR
} RESERVE_IRP_ALLOCATOR, *PRESERVE_IRP_ALLOCATOR; } RESERVE_IRP_ALLOCATOR, *PRESERVE_IRP_ALLOCATOR;
// //
// // Type selection for IopCreateSecurityDescriptorPerType()
// //
typedef enum _SECURITY_DESCRIPTOR_TYPE typedef enum _SECURITY_DESCRIPTOR_TYPE
{ {

View file

@ -727,7 +727,7 @@ IopVerifyDeviceObjectOnStack(IN PDEVICE_OBJECT BaseDeviceObject,
NTSTATUS NTSTATUS
NTAPI NTAPI
IopCreateSecurityDescriptorPerType(IN PSECURITY_DESCRIPTOR SecurityDescriptor, IopCreateSecurityDescriptorPerType(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN ULONG Type, IN SECURITY_DESCRIPTOR_TYPE Type,
OUT PULONG OutputFlags) OUT PULONG OutputFlags)
{ {
PACL Dacl; PACL Dacl;