Changeset 213:36f5cb12e1a2 for dwt/dnd/Clipboard.d
- Timestamp:
- 05/17/08 11:34:28 (8 months ago)
- Files:
-
- dwt/dnd/Clipboard.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/dnd/Clipboard.d
r212 r213 591 591 stgmedium.tymed = COM.TYMED_HGLOBAL; 592 592 stgmedium.unionField = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, 4); 593 //TODO - should call GlobalLock 593 594 stgmedium.unionField = cast(void*)COM.DROPEFFECT_COPY; 594 595 stgmedium.pUnkForRelease = null; … … 773 774 if (rc !is COM.S_OK)return types; 774 775 // Loop over enumerator and save any types that match what we are looking for 775 // autorgelt = OS.GlobalAlloc(OS.GMEM_FIXED | OS.GMEM_ZEROINIT, FORMATETC.sizeof);776 //int /*long*/ rgelt = OS.GlobalAlloc(OS.GMEM_FIXED | OS.GMEM_ZEROINIT, FORMATETC.sizeof); 776 777 uint[1] pceltFetched; 777 778 FORMATETC rgelt;
