Re: OLEPICTURE: Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case
29 Mar
2005
29 Mar
'05
8:38 p.m.
Alex VillaciĀs Lasso escreveu:
Alexandre Julliard wrote:
This seems a bit overkill just to retrieve the bitmap size. Couldn't you simply do a GetObject on the bitmap?
You are right. I did a copy&paste from the SerializeIcon code. What do you think about this patch?
Changelog: * Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case
...
+ if(GetObjectA(infoIcon.hbmColor, sizeof(bm), &bm) != sizeof(bm)) {
Maybe GetObjectW is more consistent (get rid w->A calls)?
7564
Age (days ago)
7564
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcelo Duarte