Module: wine Branch: master Commit: cf45d599124a7bbb53a511e271d7864a0548e722 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf45d599124a7bbb53a511e271... Author: Rob Shearman <robertshearman(a)gmail.com> Date: Tue Mar 23 13:33:29 2010 +0000 include: Change an unsized [out] string to be sized in IMultiLanguage2. Unsized [out] strings are not allowed because of the potential to overflow the buffer passed in. --- include/mlang.idl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/mlang.idl b/include/mlang.idl index a5b1b47..7664a22 100644 --- a/include/mlang.idl +++ b/include/mlang.idl @@ -668,7 +668,7 @@ interface IMultiLanguage2 : IUnknown HRESULT GetCodePageDescription( [in] UINT uiCodePage, [in] LCID lcid, - [in,out] LPWSTR lpWideCharStr, + [in,out,size_is(cchWideChar)] LPWSTR lpWideCharStr, [in] int cchWideChar); HRESULT IsCodePageInstallable(