On 4/15/19 12: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.
Why? widl should add extern "C" itself.
Jacek