28 Jul
2008
28 Jul
'08
11:11 a.m.
"Damjan Jovanovic" <damjan.jov(a)gmail.com> writes:
+#define IMPL(class, member, pointer) ((class*) (((char*) pointer) - offsetof(class, member)))
Please don't invent yet another macro for this. Use inline functions instead.
+typedef struct +{ + IUnknown unknown; + IUniformResourceLocatorA uniformResourceLocatorA; + IUniformResourceLocatorW uniformResourceLocatorW; + IPersistFile persistFile;
There's no need for an explicit IUnknown vtable. -- Alexandre Julliard julliard(a)winehq.org