[PATCH v8 3/5] wdscore: Add stubs for ConstructPartialMsgV[AW].

Michael Stefaniuc mstefani at winehq.org
Wed Feb 16 13:39:29 CST 2022


Hello,

WINELIB_NAME_AW is only needed if the public API would have also a
ConstructPartialMsgV macro.  Which based on UNICODE being defined or not
translates to either ConstructPartialMsgVW or ConstructPartialMsgVA.
On Wine that would translate to
ConstructPartialMsgV_must_be_suffixed_with_W_or_A_in_this_context to generate an
error.

It's basically and old kludge by MS to make porting old ansi code to unicode easier.


bye
	michael


On 2/16/22 05:03, Mohamad Al-Jaf wrote:
> Hi,
> 
> I'm just wondering if WINELIB_NAME_AW is required for these functions? The
> header is internal so I'm not sure if it's appropriate here. What does it do
> exactly? Also, I saw past commits for similar AW functions and they did not
> include this declaration. But the Wine wiki says it needs a declaration. So I
> don't know if I should add it or not.
> --
> Kind regards,
> Mohamad
> 




More information about the wine-devel mailing list