From 54d3060a2db33e160c144dd0bbd787c859ddd73a Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Thu, 13 Apr 2006 20:07:29 +0900 Subject: [PATCH] wtypes.idl: Add size attribute to a void pointer. --- include/wtypes.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wtypes.idl b/include/wtypes.idl index 0e0fed7c773..49aadbcbda6 100644 --- a/include/wtypes.idl +++ b/include/wtypes.idl @@ -135,7 +135,7 @@ typedef struct _SECURITY_DESCRIPTOR { typedef struct _SECURITY_ATTRIBUTES { DWORD nLength; - LPVOID lpSecurityDescriptor; + [size_is(nLength)] LPVOID lpSecurityDescriptor; BOOL bInheritHandle; } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;