Re: winex11.drv: Implement synthesizing the CF_ENHMETAFILE clipboard format from CF_METAFILEPICT.
28 Jan
2011
28 Jan
'11
3:01 p.m.
On 01/27/2011 07:42 PM, Alexander Scott-Johns wrote:
+ FIXME("Called to synthesize unknown format 0x%08x\n", wFormatID); Formats defined as decimal, so you should print it as decimal.
+ if ((lpSource = X11DRV_CLIPBOARD_LookupData(CF_ENHMETAFILE)) && lpSource->hData) + { + bret = TRUE; + } Just do "return TRUE". It will remove one level of indentation.
+ void *mf_bits = HeapAlloc(GetProcessHeap(), 0, size_mf_bits); + GetMetaFileBitsEx(pmfp->hMF, size_mf_bits, mf_bits); Please check if allocation succeeded.
Vitaliy.
5435
Age (days ago)
5435
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vitaliy Margolen