[4/7] [try 2] mapi32: Load and store MAPI function pointers after loading MAPI providers

Henri Verbeet hverbeet at gmail.com
Mon Aug 31 09:43:23 CDT 2009

2009/8/31 Owen Rudge <orudge at codeweavers.com>:
> +    mapiFunctions.MAPIAddress = (void*) get_mapi_function("MAPIAddress");
That's redundant now. Since you load the pointers all at once, you
don't need get_mapi_function() to do the NULL check on the module. You
can just enclose the entire block in an if and use GetProcAddress().

More information about the wine-patches mailing list