Ignore:
Timestamp:
Feb 15, 2002, 6:18:52 PM (24 years ago)
Author:
sandervl
Message:

Wine 20020215 resync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/ole2.c

    r6711 r7926  
     1
    12/*
    23 *      OLE2 library
     
    67 *      Copyright 1999  Noel Borthwick
    78 */
     9
     10#include "config.h"
    811
    912#include <assert.h>
     
    1215#include <string.h>
    1316
     17#include "commctrl.h"
     18#include "ole2.h"
     19#include "ole2ver.h"
    1420#include "windef.h"
    1521#include "winbase.h"
    16 #include "wingdi.h"
     22#include "winerror.h"
    1723#include "winuser.h"
    18 #include "winerror.h"
    19 #include "ole2.h"
    20 #include "commctrl.h"
     24#include "winreg.h"
     25
    2126#include "wine/obj_clientserver.h"
    2227#include "wine/winbase16.h"
    2328#include "wine/wingdi16.h"
    2429#include "wine/winuser16.h"
     30#include "ole32_main.h"
     31
    2532#include "debugtools.h"
    26 #include "ole2ver.h"
    27 #include "winreg.h"
    28 #include "ole32_main.h"
    2933
    3034DEFAULT_DEBUG_CHANNEL(ole);
     
    146150/******************************************************************************
    147151 *              OleBuildVersion [OLE2.1]
     152 *              OleBuildVersion [OLE32.84]
    148153 */
    149154DWORD WINAPI OleBuildVersion(void)
     
    154159
    155160/***********************************************************************
    156  *           OleInitialize       (OLE2.2) (OLE32.108)
     161 *           OleInitialize       (OLE2.2)
     162 *           OleInitialize       (OLE32.108)
    157163 */
    158164HRESULT WINAPI OleInitialize(LPVOID reserved)
     
    183189   */
    184190  if (OLE_moduleLockCount==0)
    185 {
     191  {
    186192    /*
    187193     * Initialize the libraries.
     
    203209     */
    204210    OLEMenu_Initialize();
    205 }
     211  }
    206212
    207213  /*
     
    214220
    215221/******************************************************************************
    216  *              CoGetCurrentProcess     [COMPOBJ.34] [OLE2.2][OLE32.108]
     222 *              CoGetCurrentProcess     [COMPOBJ.34]
     223 *              CoGetCurrentProcess     [OLE32.18]
    217224 *
    218225 * NOTES
     
    225232
    226233/******************************************************************************
    227  *              OleUninitialize [OLE2.3] [OLE32.131]
     234 *              OleUninitialize [OLE2.3]
     235 *              OleUninitialize [OLE32.131]
    228236 */
    229237void WINAPI OleUninitialize(void)
     
    268276}
    269277
    270 #ifndef __WIN32OS2__
    271 //imessagefilter.cpp
    272278/******************************************************************************
    273279 *              CoRegisterMessageFilter [OLE32.38]
     
    283289    return S_OK;
    284290}
    285 #endif
    286291
    287292/******************************************************************************
     
    294299
    295300/***********************************************************************
    296  *           RegisterDragDrop16 (OLE2.35)
     301 *           RegisterDragDrop (OLE2.35)
    297302 */
    298303HRESULT WINAPI RegisterDragDrop16(
     
    348353
    349354/***********************************************************************
    350  *           RevokeDragDrop16 (OLE2.36)
     355 *           RevokeDragDrop (OLE2.36)
    351356 */
    352357HRESULT WINAPI RevokeDragDrop16(
     
    10671072   * The Edit, Object & Help groups belong to the server object
    10681073   * and the other three belong to the container.
    1069    * Loop thru the 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.
    10701075   */
    10711076  for ( i = 0, nWidth = 0; i < 6; i++ )
     
    14131418
    14141419    if(!lpMsg) return FALSE;
     1420
    14151421#ifdef __WIN32OS2__
    14161422    if (!hAccel || !(lpAccelTbl = (LPACCEL16)LockResource(hAccel)))
     
    15461552           (pmedium->u.hMetaFilePict!=0) )
    15471553      {
    1548         LPMETAFILEPICT pMP = GlobalLock(pmedium->u.hMetaFilePict);
     1554        LPMETAFILEPICT pMP = GlobalLock(pmedium->u.hGlobal);
    15491555        DeleteMetaFile(pMP->hMF);
    1550         GlobalUnlock(pmedium->u.hMetaFilePict);
    1551         GlobalFree(pmedium->u.hMetaFilePict);
     1556        GlobalUnlock(pmedium->u.hGlobal);
     1557        GlobalFree(pmedium->u.hGlobal);
    15521558      }
    15531559
     
    22002206#ifndef __WIN32OS2__
    22012207/******************************************************************************
    2202  * OleMetaFilePictFromIconAndLabel
     2208 * OleMetaFilePictFromIconAndLabel (OLE2.56)
    22032209 *
    22042210 * Returns a global memory handle to a metafile which contains the icon and
     
    22432249}
    22442250#endif
     2251
    22452252/******************************************************************************
    2246  * DllDebugObjectRPCHook
     2253 * DllDebugObjectRPCHook (OLE32.62)
    22472254 * turns on and off internal debugging,  pointer is only used on macintosh
    22482255 */
Note: See TracChangeset for help on using the changeset viewer.