[PATCH] include: Allow making Wine Server requests from C++ code

Mahdi Tayarani tayarani at google.com
Mon Jun 6 11:12:44 CDT 2022


We have an input processing system which requires us to directly send input
update information to the Wine Server. The existing helper methods don't
provide what we need.

Can you please elaborate why it will be a tough sell? The change provides
no sort of functional or behavioural change. It's just making the cast that
was already implicitly happening, explicit.

On Mon, Jun 6, 2022 at 11:51 AM Alex Henrie <alexhenrie24 at gmail.com> wrote:

> On Mon, Jun 6, 2022 at 8:59 AM Mahdi Tayarani <tayarani at google.com> wrote:
> >
> > We need to include "include/wine/server.h" as it contains the definition
> for the SERVER_START_REQ/SERVER_END_REQ macros. Our code (written in C++)
> needs to make a Wine Server call so we have to include that header. But by
> doing so we run into compilation issues.
>
> I suspect that this is going to be a tough sell. Why are you trying to
> call the Wineserver directly, instead of calling the Windows function
> that calls the Wineserver?
>
> -Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220606/94e33cc7/attachment.htm>


More information about the wine-devel mailing list