Re: shdocvw: rudimentary implementation of CLSID_InternetShortcut
28 Jul
2008
28 Jul
'08
10: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
6350
Age (days ago)
6350
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard