Module: wine Branch: refs/heads/master Commit: 54d3060a2db33e160c144dd0bbd787c859ddd73a URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=54d3060a2db33e160c144dd0...
Author: Mike McCormack mike@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;