Hi Michael,

That makes sense, thanks for the explanation. It doesn't seem like there's a public API for this function nor dll for that matter so I won't add the macro.

--
Kind regards,
Mohamad


On Wed, Feb 16, 2022 at 2:39 PM Michael Stefaniuc <mstefani@winehq.org> wrote:
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
>