OleFont: Fix IDispatch Implementation (was Re: olefont: GetIDsOfNames)

Robert Shearman rob at codeweavers.com
Wed Sep 14 10:33:40 CDT 2005

Walt Ogburn wrote:

>	Implement IFontDisp::GetIDsOfNames

You're not being lazy enough. All of this stuff can be easily 
implemented in one go using CreateStdDispatch, as long as you know how 
to use it. Try the attached patch.

Return the standard font IDispatch interface created using 
CreateStdDispatch on top of a typelib instead of manually implementing 
the necessary methods.

Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: olefont.diff
Type: text/x-patch
Size: 15355 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050914/8b91becc/olefont-0001.diff

More information about the wine-patches mailing list