[PATCH 5/5] wmp: Added WindowsMediaPlayer object stub implementation.

Jacek Caban jacek at codeweavers.com
Sat Jan 25 11:41:59 CST 2014


On 01/25/14 18:35, Dmitry Timoshkov wrote:
> Jacek Caban <jacek at codeweavers.com> wrote:
>
>> +struct WindowsMediaPlayer {
>> +    IOleObject IOleObject_iface;
>> +    LONG ref;
>> +};
>> +
>> +static inline WindowsMediaPlayer *impl_from_IOleObject(IOleObject *iface)
>> +{
>> +    return CONTAINING_RECORD(iface, WindowsMediaPlayer, IOleObject_iface);
>> +}
> Will this and below code which needs 'struct WindowsMediaPlayer' but instead
> gets just 'WindowsMediaPlayer' compile without a typedef?

A typedef is generated by widl from IDL file.

Jacek



More information about the wine-devel mailing list