From b5fcf9fe076c5c7bd23336350dd86d04809808ce Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Tue, 1 Nov 2022 03:14:09 +0100 Subject: [PATCH] [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). --- sdk/include/psdk/wtypes.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/include/psdk/wtypes.idl b/sdk/include/psdk/wtypes.idl index c463158b14a..579f2318e34 100644 --- a/sdk/include/psdk/wtypes.idl +++ b/sdk/include/psdk/wtypes.idl @@ -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;