msxml3/httprequest: Add basic bind callback for moniker binding (try2)

Alexandre Julliard julliard at winehq.org
Thu Sep 30 09:10:37 CDT 2010


Nikolay Sivov <nsivov at codeweavers.com> writes:

> +#define DEFINE_THIS2(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,ifc)))
> +#define DEFINE_THIS(cls,ifc,iface) DEFINE_THIS2(cls,lp ## ifc ## Vtbl,iface)

Don't do that, follow the standard impl_from_xxx inline function pattern.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list