Re: [PATCH 4/4] ole32: Support reading and writing custom clipformats in the data cache.

2006-12-06 Thread Robert Shearman
Mike McCormack wrote: Robert Shearman wrote: +{ +char *format_name = HeapAlloc(GetProcessHeap(), 0, length); +if (!format_name) +return E_OUTOFMEMORY; +GetClipboardFormatNameA(clipformat, format_name, length); +hr = IStream_Write(stream, format_n

Re: [PATCH 4/4] ole32: Support reading and writing custom clipformats in the data cache.

2006-12-04 Thread Mike McCormack
Robert Shearman wrote: +{ +char *format_name = HeapAlloc(GetProcessHeap(), 0, length); +if (!format_name) +return E_OUTOFMEMORY; +GetClipboardFormatNameA(clipformat, format_name, length); +hr = IStream_Write(stream, format_name, length, NULL); +