Changeset 21855 for branches/gcc-kmk/src/ole32/datacache.c
- Timestamp:
- Dec 6, 2011, 6:19:13 PM (14 years ago)
- File:
-
- 1 edited
-
branches/gcc-kmk/src/ole32/datacache.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/ole32/datacache.c
r9400 r21855 700 700 701 701 return (elem->type == STGTY_STREAM) 702 && (elem->cbSize. s.LowPart >= sizeof(PresentationDataHeader))702 && (elem->cbSize.DUMMYSTRUCTNAME_DOT LowPart >= sizeof(PresentationDataHeader)) 703 703 && (strlenW(name) == 11) 704 704 && (strncmpW(name, OlePres, 8) == 0) … … 769 769 /* Rewind the stream before returning it. */ 770 770 LARGE_INTEGER offset; 771 offset. s.LowPart = 0;772 offset. s.HighPart = 0;771 offset.DUMMYSTRUCTNAME_DOT LowPart = 0; 772 offset.DUMMYSTRUCTNAME_DOT HighPart = 0; 773 773 IStream_Seek(pStm, offset, STREAM_SEEK_SET, NULL); 774 774 … … 839 839 * Skip the header 840 840 */ 841 offset. s.HighPart = 0;842 offset. s.LowPart = sizeof(PresentationDataHeader);841 offset.DUMMYSTRUCTNAME_DOT HighPart = 0; 842 offset.DUMMYSTRUCTNAME_DOT LowPart = sizeof(PresentationDataHeader); 843 843 844 844 hres = IStream_Seek( … … 848 848 NULL); 849 849 850 streamInfo.cbSize. s.LowPart -= offset.s.LowPart;850 streamInfo.cbSize.DUMMYSTRUCTNAME_DOT LowPart -= offset.DUMMYSTRUCTNAME_DOT LowPart; 851 851 852 852 /* … … 855 855 metafileBits = HeapAlloc(GetProcessHeap(), 856 856 0, 857 streamInfo.cbSize. s.LowPart);857 streamInfo.cbSize.DUMMYSTRUCTNAME_DOT LowPart); 858 858 859 859 /* … … 863 863 presStream, 864 864 metafileBits, 865 streamInfo.cbSize. s.LowPart,865 streamInfo.cbSize.DUMMYSTRUCTNAME_DOT LowPart, 866 866 NULL); 867 867 … … 871 871 if (SUCCEEDED(hres)) 872 872 { 873 newMetafile = SetMetaFileBitsEx(streamInfo.cbSize. s.LowPart, metafileBits);873 newMetafile = SetMetaFileBitsEx(streamInfo.cbSize.DUMMYSTRUCTNAME_DOT LowPart, metafileBits); 874 874 } 875 875 … … 1141 1141 GlobalUnlock(hGlobalMF); 1142 1142 1143 pmedium-> u.hGlobal = hGlobalMF;1143 pmedium->DUMMYUNIONNAME_DOT hGlobal = hGlobalMF; 1144 1144 pmedium->tymed = TYMED_MFPICT; 1145 1145 hrRet = S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.
