Mike McCormack : wtypes.idl: Add size attribute to a void pointer.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 14 04:13:18 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 54d3060a2db33e160c144dd0bbd787c859ddd73a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=54d3060a2db33e160c144dd0bbd787c859ddd73a

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Apr 13 20:07:29 2006 +0900

wtypes.idl: Add size attribute to a void pointer.

---

 include/wtypes.idl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/wtypes.idl b/include/wtypes.idl
index 0e0fed7..49aadbc 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;
 




More information about the wine-cvs mailing list