"Damjan Jovanovic" <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
