[PSDK] SECURITY_ATTRIBUTES: Remove size_is(nLength) (#4832)

nLength is the size of the struct itself, not a number of descriptors.
Addendum to 1f12113 (r26428).
This commit is contained in:
Serge Gautherie 2022-11-01 03:14:09 +01:00 committed by GitHub
parent d8cc88ca80
commit b5fcf9fe07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ typedef struct _SECURITY_DESCRIPTOR {
typedef struct _SECURITY_ATTRIBUTES
{
DWORD nLength;
[size_is(nLength)] LPVOID lpSecurityDescriptor;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;