Changeset 7909 for trunk/src/ole32/clipboard.c
- Timestamp:
- Feb 15, 2002, 2:57:40 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/ole32/clipboard.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/clipboard.c
r7788 r7909 1201 1201 BOOL bClipboardOpen = FALSE; 1202 1202 HRESULT hr = S_OK; 1203 LPVOID src; 1203 1204 1204 1205 /* … … 1241 1242 1242 1243 #ifdef __WIN32OS2__ 1243 { 1244 //must make a copy of global handle returned by GetClipboardData; it 1245 //is not valid after we call CloseClipboard 1246 //Application is responsible for freeing the memory (Forte Agent does this) 1247 LPVOID src; 1248 LPVOID dest; 1249 ULONG size; 1250 HANDLE hDest; 1251 1244 /* Must make a copy of global handle returned by GetClipboardData; it 1245 * is not valid after we call CloseClipboard 1246 * Application is responsible for freeing the memory (Forte Agent does this) 1247 */ 1252 1248 src = GlobalLock(hData); 1253 1249 if(src) { 1250 LPVOID dest; 1251 ULONG size; 1252 HANDLE hDest; 1253 1254 1254 size = GlobalSize(hData); 1255 1255 hDest = GlobalAlloc(GHND, size); … … 1260 1260 hData = hDest; 1261 1261 } 1262 }1263 1262 #endif 1264 1263
Note:
See TracChangeset
for help on using the changeset viewer.
