2005-07-31 12:11:56 +00:00
|
|
|
/*
|
|
|
|
* Header includes for shdocvw.dll
|
|
|
|
*
|
|
|
|
* Copyright 2001 John R. Sheets (for CodeWeavers)
|
2009-02-04 14:35:06 +00:00
|
|
|
* Copyright 2005-2006 Jacek Caban for CodeWeavers
|
2005-07-31 12:11:56 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2009-02-04 14:35:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2005-07-31 12:11:56 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_SHDOCVW_H
|
|
|
|
#define __WINE_SHDOCVW_H
|
|
|
|
|
2014-01-25 17:11:51 +00:00
|
|
|
#include <wine/config.h>
|
2013-12-22 17:11:12 +00:00
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
|
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Take into account -noname functions when checking for duplicate export
names. Fixed a couple of issues found by the stricter check.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Make IPersist* interfaces heap based.
- Added IWebBrowser2 stub implementation.
- Make IProvideClassInfo2 interface heap based.
- Make IConnectionPointContainer interface heap based.
- Make WebBrowser heap based object.
- Improve stubs.
- Make IQuickActivate interface heap based.
- Added SetClientSite implementation.
- Make IOleControl and IOleInPlaceObject interface heap based.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Added Finnish resources.
svn path=/trunk/; revision=18351
2005-10-08 19:07:39 +00:00
|
|
|
#define COBJMACROS
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2014-01-25 17:11:51 +00:00
|
|
|
#include <winnls.h>
|
2013-12-22 17:11:12 +00:00
|
|
|
#include <winreg.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <shlobj.h>
|
|
|
|
|
2013-12-22 17:11:12 +00:00
|
|
|
#include <wine/debug.h>
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
|
2010-11-19 15:21:38 +00:00
|
|
|
|
2005-11-20 14:26:47 +00:00
|
|
|
/**********************************************************************
|
|
|
|
* Shell Instance Objects
|
|
|
|
*/
|
2009-02-04 14:35:06 +00:00
|
|
|
extern HRESULT SHDOCVW_GetShellInstanceObjectClassObject(REFCLSID rclsid,
|
2013-04-21 13:50:00 +00:00
|
|
|
REFIID riid, LPVOID *ppvClassObj) DECLSPEC_HIDDEN;
|
Sync to Wine-20050930:
Alexandre Julliard <julliard@winehq.org>
- Take into account -noname functions when checking for duplicate export
names. Fixed a couple of issues found by the stricter check.
- We are no longer generating .dbg.c files.
Milko Krachounov <milko@3mhz.net>
- Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
Alexander N. Sørnes <alex@thehandofagony.com>
- Added Norwegian translations.
Jacek Caban <jack@itma.pwr.wroc.pl>
- Make IPersist* interfaces heap based.
- Added IWebBrowser2 stub implementation.
- Make IProvideClassInfo2 interface heap based.
- Make IConnectionPointContainer interface heap based.
- Make WebBrowser heap based object.
- Improve stubs.
- Make IQuickActivate interface heap based.
- Added SetClientSite implementation.
- Make IOleControl and IOleInPlaceObject interface heap based.
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
- Added Finnish resources.
svn path=/trunk/; revision=18351
2005-10-08 19:07:39 +00:00
|
|
|
|
2005-07-31 12:11:56 +00:00
|
|
|
/**********************************************************************
|
|
|
|
* Dll lifetime tracking declaration for shdocvw.dll
|
|
|
|
*/
|
2013-04-21 13:50:00 +00:00
|
|
|
extern LONG SHDOCVW_refCount DECLSPEC_HIDDEN;
|
2005-08-05 08:02:09 +00:00
|
|
|
static inline void SHDOCVW_LockModule(void) { InterlockedIncrement( &SHDOCVW_refCount ); }
|
|
|
|
static inline void SHDOCVW_UnlockModule(void) { InterlockedDecrement( &SHDOCVW_refCount ); }
|
2005-07-31 12:11:56 +00:00
|
|
|
|
2010-03-02 19:38:02 +00:00
|
|
|
|
2009-02-04 14:35:06 +00:00
|
|
|
/* memory allocation functions */
|
|
|
|
|
|
|
|
static inline void *heap_alloc(size_t len)
|
|
|
|
{
|
|
|
|
return HeapAlloc(GetProcessHeap(), 0, len);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline BOOL heap_free(void *mem)
|
|
|
|
{
|
|
|
|
return HeapFree(GetProcessHeap(), 0, mem);
|
|
|
|
}
|
|
|
|
|
2005-07-31 12:11:56 +00:00
|
|
|
#endif /* __WINE_SHDOCVW_H */
|