25 Jan
2014
25 Jan
'14
5:41 p.m.
On 01/25/14 18:35, Dmitry Timoshkov wrote:
Jacek Caban <jacek(a)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