Alexandre Julliard wrote:
> It would be cleaner to pass the actual buffer size to the function, it's
> complex enough that it would be easy to inadvertently break the
> guarantee that the allocated space is large enough.
We already pass a length pointer to that
"convert_PCREDENTIALW_to_PCREDENTIA
"Colin Finck" <[EMAIL PROTECTED]> writes:
> @@ -947,7 +947,8 @@ static void convert_PCREDENTIALW_to_PCREDENTIALA(const
> CREDENTIALW *CredentialW,
> if (CredentialW->TargetName)
> {
> CredentialA->TargetName = buffer;
> -string_len = WideCharToMultiByte(CP_ACP, 0, Crede