Changeset 7926 for trunk/src/ole32/ole2.c
- Timestamp:
- Feb 15, 2002, 6:18:52 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/ole32/ole2.c (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/ole2.c
r6711 r7926 1 1 2 /* 2 3 * OLE2 library … … 6 7 * Copyright 1999 Noel Borthwick 7 8 */ 9 10 #include "config.h" 8 11 9 12 #include <assert.h> … … 12 15 #include <string.h> 13 16 17 #include "commctrl.h" 18 #include "ole2.h" 19 #include "ole2ver.h" 14 20 #include "windef.h" 15 21 #include "winbase.h" 16 #include "win gdi.h"22 #include "winerror.h" 17 23 #include "winuser.h" 18 #include "winerror.h" 19 #include "ole2.h" 20 #include "commctrl.h" 24 #include "winreg.h" 25 21 26 #include "wine/obj_clientserver.h" 22 27 #include "wine/winbase16.h" 23 28 #include "wine/wingdi16.h" 24 29 #include "wine/winuser16.h" 30 #include "ole32_main.h" 31 25 32 #include "debugtools.h" 26 #include "ole2ver.h"27 #include "winreg.h"28 #include "ole32_main.h"29 33 30 34 DEFAULT_DEBUG_CHANNEL(ole); … … 146 150 /****************************************************************************** 147 151 * OleBuildVersion [OLE2.1] 152 * OleBuildVersion [OLE32.84] 148 153 */ 149 154 DWORD WINAPI OleBuildVersion(void) … … 154 159 155 160 /*********************************************************************** 156 * OleInitialize (OLE2.2) (OLE32.108) 161 * OleInitialize (OLE2.2) 162 * OleInitialize (OLE32.108) 157 163 */ 158 164 HRESULT WINAPI OleInitialize(LPVOID reserved) … … 183 189 */ 184 190 if (OLE_moduleLockCount==0) 185 {191 { 186 192 /* 187 193 * Initialize the libraries. … … 203 209 */ 204 210 OLEMenu_Initialize(); 205 }211 } 206 212 207 213 /* … … 214 220 215 221 /****************************************************************************** 216 * CoGetCurrentProcess [COMPOBJ.34] [OLE2.2][OLE32.108] 222 * CoGetCurrentProcess [COMPOBJ.34] 223 * CoGetCurrentProcess [OLE32.18] 217 224 * 218 225 * NOTES … … 225 232 226 233 /****************************************************************************** 227 * OleUninitialize [OLE2.3] [OLE32.131] 234 * OleUninitialize [OLE2.3] 235 * OleUninitialize [OLE32.131] 228 236 */ 229 237 void WINAPI OleUninitialize(void) … … 268 276 } 269 277 270 #ifndef __WIN32OS2__271 //imessagefilter.cpp272 278 /****************************************************************************** 273 279 * CoRegisterMessageFilter [OLE32.38] … … 283 289 return S_OK; 284 290 } 285 #endif286 291 287 292 /****************************************************************************** … … 294 299 295 300 /*********************************************************************** 296 * RegisterDragDrop 16(OLE2.35)301 * RegisterDragDrop (OLE2.35) 297 302 */ 298 303 HRESULT WINAPI RegisterDragDrop16( … … 348 353 349 354 /*********************************************************************** 350 * RevokeDragDrop 16(OLE2.36)355 * RevokeDragDrop (OLE2.36) 351 356 */ 352 357 HRESULT WINAPI RevokeDragDrop16( … … 1067 1072 * The Edit, Object & Help groups belong to the server object 1068 1073 * and the other three belong to the container. 1069 * Loop thr uthe group widths and locate the group we are a member of.1074 * Loop through the group widths and locate the group we are a member of. 1070 1075 */ 1071 1076 for ( i = 0, nWidth = 0; i < 6; i++ ) … … 1413 1418 1414 1419 if(!lpMsg) return FALSE; 1420 1415 1421 #ifdef __WIN32OS2__ 1416 1422 if (!hAccel || !(lpAccelTbl = (LPACCEL16)LockResource(hAccel))) … … 1546 1552 (pmedium->u.hMetaFilePict!=0) ) 1547 1553 { 1548 LPMETAFILEPICT pMP = GlobalLock(pmedium->u.h MetaFilePict);1554 LPMETAFILEPICT pMP = GlobalLock(pmedium->u.hGlobal); 1549 1555 DeleteMetaFile(pMP->hMF); 1550 GlobalUnlock(pmedium->u.h MetaFilePict);1551 GlobalFree(pmedium->u.h MetaFilePict);1556 GlobalUnlock(pmedium->u.hGlobal); 1557 GlobalFree(pmedium->u.hGlobal); 1552 1558 } 1553 1559 … … 2200 2206 #ifndef __WIN32OS2__ 2201 2207 /****************************************************************************** 2202 * OleMetaFilePictFromIconAndLabel 2208 * OleMetaFilePictFromIconAndLabel (OLE2.56) 2203 2209 * 2204 2210 * Returns a global memory handle to a metafile which contains the icon and … … 2243 2249 } 2244 2250 #endif 2251 2245 2252 /****************************************************************************** 2246 * DllDebugObjectRPCHook 2253 * DllDebugObjectRPCHook (OLE32.62) 2247 2254 * turns on and off internal debugging, pointer is only used on macintosh 2248 2255 */
Note:
See TracChangeset
for help on using the changeset viewer.
