[PATCH] include: Add IMFPMediaPlayer definition.

Nikolay Sivov nsivov at codeweavers.com
Mon Apr 15 10:19:56 CDT 2019


On 4/15/19 1:20 PM, Alistair Leslie-Hughes wrote:

> Hi Nikolay,
>
> On 15/4/19 3:35 pm, Nikolay Sivov wrote:
>> +cpp_quote("HRESULT WINAPI MFPCreateMediaPlayer(const WCHAR *url, BOOL start_playback, MFP_CREATION_OPTIONS options, ")
>> +cpp_quote("        IMFPMediaPlayerCallback *callback, HWND hwnd, IMFPMediaPlayer **player);")
> This need to have extern "C" around the function.

Like Jacek already said, widl will wrap everything in extern "C" block. 
That also reminded me, was 
https://source.winehq.org/git/wine.git/commit/0501ad920afd208d85cf807c9fcec1d4e8245164really 
necessary?

Now generated header has nested extern "C".

>
> Regards
>
> Alistair
>
>



More information about the wine-devel mailing list