Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4405f3c3
Commit
4405f3c3
authored
Aug 18, 1999
by
Michael Veksler
Committed by
Alexandre Julliard
Aug 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary includes from ole related files.
parent
708a1c03
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
123 additions
and
110 deletions
+123
-110
shlview.c
dlls/shell32/shlview.c
+1
-0
compobj.h
include/compobj.h
+1
-1
ole2.h
include/ole2.h
+11
-2
oleauto.h
include/oleauto.h
+38
-32
obj_cache.h
include/wine/obj_cache.h
+3
-1
obj_control.h
include/wine/obj_control.h
+7
-2
obj_dataobject.h
include/wine/obj_dataobject.h
+4
-1
obj_inplace.h
include/wine/obj_inplace.h
+3
-4
obj_olefont.h
include/wine/obj_olefont.h
+1
-0
obj_oleobj.h
include/wine/obj_oleobj.h
+8
-5
obj_oleview.h
include/wine/obj_oleview.h
+5
-3
wingdi.h
include/wingdi.h
+1
-1
winuser.h
include/winuser.h
+1
-1
antimoniker.c
ole/antimoniker.c
+2
-6
clipboard.c
ole/clipboard.c
+1
-0
compositemoniker.c
ole/compositemoniker.c
+1
-6
datacache.c
ole/datacache.c
+4
-3
defaulthandler.c
ole/defaulthandler.c
+9
-7
filemoniker.c
ole/filemoniker.c
+2
-4
itemmoniker.c
ole/itemmoniker.c
+4
-5
ole2.c
ole/ole2.c
+0
-1
ole2disp.c
ole/ole2disp.c
+1
-2
ole2stubs.c
ole/ole2stubs.c
+2
-2
olecli.c
ole/olecli.c
+0
-3
olefont.c
ole/olefont.c
+3
-2
storage32.c
ole/storage32.c
+2
-8
storage32.h
ole/storage32.h
+4
-0
typelib.c
ole/typelib.c
+3
-5
typelib.h
ole/typelib.h
+0
-2
variant.c
ole/variant.c
+1
-1
No files found.
dlls/shell32/shlview.c
View file @
4405f3c3
...
...
@@ -15,6 +15,7 @@
#include "wine/obj_base.h"
#include "wine/obj_shellfolder.h"
#include "wine/obj_shellview.h"
#include "wine/obj_oleview.h"
#include "wine/obj_commdlgbrowser.h"
#include "wine/obj_shellbrowser.h"
#include "wine/obj_dockingwindowframe.h"
...
...
include/compobj.h
View file @
4405f3c3
...
...
@@ -3,7 +3,7 @@
/* All private prototye functions used by OLE will be added to this header file */
#include "
objbase
.h"
#include "
wtypes
.h"
/* This function initialize the Running Object Table */
HRESULT
WINAPI
RunningObjectTableImpl_Initialize
();
...
...
include/ole2.h
View file @
4405f3c3
...
...
@@ -7,8 +7,17 @@
#include "windef.h"
#include "winerror.h"
#include "wine/obj_storage.h"
#include "wine/obj_moniker.h"
#include "wine/obj_base.h"
#include "wine/obj_dragdrop.h"
#include "wine/obj_inplace.h"
#include "wine/obj_oleobj.h"
#ifndef __WINE__
#include "oleidl.h"
#include "oleauto.h"
#endif
struct
tagMSG
;
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -82,12 +91,12 @@ HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFO
LPSTORAGE
pStg
,
LPVOID
*
ppvObj
);
HRESULT
WINAPI
OleFlushClipboard
(
void
);
HRESULT
WINAPI
SetConvertStg
(
LPSTORAGE
pStg
,
BOOL
fConvert
);
BOOL
WINAPI
IsAccelerator
(
HACCEL
hAccel
,
int
cAccelEntries
,
LPMSG
lpMsg
,
WORD
*
lpwCmd
);
BOOL
WINAPI
IsAccelerator
(
HACCEL
hAccel
,
int
cAccelEntries
,
struct
tagMSG
*
lpMsg
,
WORD
*
lpwCmd
);
HRESULT
WINAPI
OleCreateLinkToFile
(
LPCOLESTR
lpszFileName
,
REFIID
riid
,
DWORD
renderopt
,
LPFORMATETC
lpFormatEtc
,
LPOLECLIENTSITE
pClientSite
,
LPSTORAGE
pStg
,
LPVOID
*
ppvObj
);
HRESULT
WINAPI
OleDuplicateData
(
HANDLE
hSrc
,
CLIPFORMAT
cfFormat
,
UINT
uiFlags
);
HRESULT
WINAPI
WriteFmtUserTypeStg
(
LPSTORAGE
pstg
,
CLIPFORMAT
cf
,
LPOLESTR
lpszUserType
);
HRESULT
WINAPI
OleTranslateAccelerator
(
LPOLEINPLACEFRAME
lpFrame
,
LPOLEINPLACEFRAMEINFO
lpFrameInfo
,
LPMSG
lpmsg
);
HRESULT
WINAPI
OleTranslateAccelerator
(
LPOLEINPLACEFRAME
lpFrame
,
LPOLEINPLACEFRAMEINFO
lpFrameInfo
,
struct
tagMSG
*
lpmsg
);
HRESULT
WINAPI
OleCreateFromData
(
LPDATAOBJECT
pSrcDataObj
,
REFIID
riid
,
DWORD
renderopt
,
LPFORMATETC
pFormatEtc
,
LPOLECLIENTSITE
pClientSite
,
LPSTORAGE
pStg
,
LPVOID
*
ppvObj
);
HRESULT
WINAPI
OleCreateDefaultHandler
(
REFCLSID
clsid
,
...
...
include/oleauto.h
View file @
4405f3c3
#ifndef __WINE_OLEAUTO_H
#define __WINE_OLEAUTO_H
#include "wtypes.h"
#include "wine/obj_oleaut.h"
#ifndef __WINE__
#include "oaidl.h"
#endif
struct
tagSAFEARRAY
;
struct
tagSAFEARRAYBOUND
;
struct
tagVARIANT
;
#ifdef __cplusplus
extern
"C"
{
#endif
/*#include <ole.h> */
#include "mapidefs.h"
#include "wine/obj_oleaut.h"
#include "oaidl.h"
BSTR16
WINAPI
SysAllocString16
(
LPCOLESTR16
);
BSTR
WINAPI
SysAllocString
(
const
OLECHAR
*
);
...
...
@@ -28,67 +34,67 @@ int WINAPI SysStringLen(BSTR);
*/
HRESULT
WINAPI
SafeArrayAllocDescriptor
(
UINT
cDims
,
SAFEARRAY
**
ppsaOut
);
SafeArrayAllocDescriptor
(
UINT
cDims
,
struct
tag
SAFEARRAY
**
ppsaOut
);
HRESULT
WINAPI
SafeArrayAllocData
(
SAFEARRAY
*
psa
);
SafeArrayAllocData
(
struct
tag
SAFEARRAY
*
psa
);
SAFEARRAY
*
WINAPI
SafeArrayCreate
(
VARTYPE
vt
,
UINT
cDims
,
SAFEARRAYBOUND
*
rgsabound
);
struct
tag
SAFEARRAY
*
WINAPI
SafeArrayCreate
(
VARTYPE
vt
,
UINT
cDims
,
struct
tag
SAFEARRAYBOUND
*
rgsabound
);
HRESULT
WINAPI
SafeArrayDestroyDescriptor
(
SAFEARRAY
*
psa
);
SafeArrayDestroyDescriptor
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayPutElement
(
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
*
pv
);
SafeArrayPutElement
(
struct
tag
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
*
pv
);
HRESULT
WINAPI
SafeArrayGetElement
(
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
*
pv
);
SafeArrayGetElement
(
struct
tag
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
*
pv
);
HRESULT
WINAPI
SafeArrayLock
(
SAFEARRAY
*
psa
);
SafeArrayLock
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayUnlock
(
SAFEARRAY
*
psa
);
SafeArrayUnlock
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayGetUBound
(
SAFEARRAY
*
psa
,
UINT
nDim
,
LONG
*
plUbound
);
SafeArrayGetUBound
(
struct
tag
SAFEARRAY
*
psa
,
UINT
nDim
,
LONG
*
plUbound
);
HRESULT
WINAPI
SafeArrayGetLBound
(
SAFEARRAY
*
psa
,
UINT
nDim
,
LONG
*
plLbound
);
SafeArrayGetLBound
(
struct
tag
SAFEARRAY
*
psa
,
UINT
nDim
,
LONG
*
plLbound
);
UINT
WINAPI
SafeArrayGetDim
(
SAFEARRAY
*
psa
);
SafeArrayGetDim
(
struct
tag
SAFEARRAY
*
psa
);
UINT
WINAPI
SafeArrayGetElemsize
(
SAFEARRAY
*
psa
);
SafeArrayGetElemsize
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayAccessData
(
SAFEARRAY
*
psa
,
void
**
ppvData
);
SafeArrayAccessData
(
struct
tag
SAFEARRAY
*
psa
,
void
**
ppvData
);
HRESULT
WINAPI
SafeArrayUnaccessData
(
SAFEARRAY
*
psa
);
SafeArrayUnaccessData
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayPtrOfIndex
(
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
**
ppvData
);
SafeArrayPtrOfIndex
(
struct
tag
SAFEARRAY
*
psa
,
LONG
*
rgIndices
,
void
**
ppvData
);
HRESULT
WINAPI
SafeArrayCopyData
(
SAFEARRAY
*
psaSource
,
SAFEARRAY
**
psaTarget
);
SafeArrayCopyData
(
struct
tagSAFEARRAY
*
psaSource
,
struct
tag
SAFEARRAY
**
psaTarget
);
HRESULT
WINAPI
SafeArrayDestroyData
(
SAFEARRAY
*
psa
);
SafeArrayDestroyData
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayDestroy
(
SAFEARRAY
*
psa
);
SafeArrayDestroy
(
struct
tag
SAFEARRAY
*
psa
);
HRESULT
WINAPI
SafeArrayCopy
(
SAFEARRAY
*
psa
,
SAFEARRAY
**
ppsaOut
);
SafeArrayCopy
(
struct
tagSAFEARRAY
*
psa
,
struct
tag
SAFEARRAY
**
ppsaOut
);
SAFEARRAY
*
WINAPI
struct
tag
SAFEARRAY
*
WINAPI
SafeArrayCreateVector
(
VARTYPE
vt
,
LONG
lLbound
,
ULONG
cElements
);
HRESULT
WINAPI
SafeArrayRedim
(
SAFEARRAY
*
psa
,
SAFEARRAYBOUND
*
psaboundNew
);
SafeArrayRedim
(
struct
tagSAFEARRAY
*
psa
,
struct
tag
SAFEARRAYBOUND
*
psaboundNew
);
/* These are macros that help accessing the VARIANT date type.
...
...
@@ -151,13 +157,13 @@ SafeArrayRedim(SAFEARRAY *psa, SAFEARRAYBOUND *psaboundNew);
* VARIANT API
*/
void
WINAPI
VariantInit
(
VARIANTARG
*
pvarg
);
HRESULT
WINAPI
VariantClear
(
VARIANTARG
*
pvarg
);
HRESULT
WINAPI
VariantCopy
(
VARIANTARG
*
pvargDest
,
VARIANTARG
*
pvargSrc
);
HRESULT
WINAPI
VariantCopyInd
(
VARIANT
*
pvargDest
,
VARIANTARG
*
pvargSrc
);
HRESULT
WINAPI
VariantChangeType
(
VARIANTARG
*
pvargDest
,
VARIANTARG
*
pvargSrc
,
void
WINAPI
VariantInit
(
struct
tagVARIANT
*
pvarg
);
HRESULT
WINAPI
VariantClear
(
struct
tagVARIANT
*
pvarg
);
HRESULT
WINAPI
VariantCopy
(
struct
tagVARIANT
*
pvargDest
,
struct
tagVARIANT
*
pvargSrc
);
HRESULT
WINAPI
VariantCopyInd
(
struct
tagVARIANT
*
pvargDest
,
struct
tagVARIANT
*
pvargSrc
);
HRESULT
WINAPI
VariantChangeType
(
struct
tagVARIANT
*
pvargDest
,
struct
tagVARIANT
*
pvargSrc
,
USHORT
wFlags
,
VARTYPE
vt
);
HRESULT
WINAPI
VariantChangeTypeEx
(
VARIANTARG
*
pvargDest
,
VARIANTARG
*
pvargSrc
,
HRESULT
WINAPI
VariantChangeTypeEx
(
struct
tagVARIANT
*
pvargDest
,
struct
tagVARIANT
*
pvargSrc
,
LCID
lcid
,
USHORT
wFlags
,
VARTYPE
vt
);
/*
...
...
include/wine/obj_cache.h
View file @
4405f3c3
...
...
@@ -8,7 +8,9 @@
#define __WINE_WINE_OBJ_CACHE_H
#include "winbase.h"
#include "wine/obj_storage.h"
#include "wine/obj_moniker.h"
#include "wine/obj_dataobject.h"
#ifdef __cplusplus
extern
"C"
{
...
...
include/wine/obj_control.h
View file @
4405f3c3
...
...
@@ -10,6 +10,11 @@
#include "winbase.h"
#include "wine/obj_oleaut.h"
/* for DISPID */
#include "wine/obj_oleview.h"
#include "wine/obj_inplace.h"
#include "wine/obj_dragdrop.h"
struct
tagMSG
;
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -167,7 +172,7 @@ typedef struct IProvideClassInfo2 IProvideClassInfo2, *LPPROVIDECLASSINFO2;
#define ICOM_INTERFACE IOleControl
#define IOleControl_METHODS \
ICOM_METHOD1(HRESULT,GetControlInfo, CONTROLINFO*,pCI) \
ICOM_METHOD1(HRESULT,OnMnemonic, MSG*,pMsg) \
ICOM_METHOD1(HRESULT,OnMnemonic,
struct tag
MSG*,pMsg) \
ICOM_METHOD1(HRESULT,OnAmbientPropertyChange, DISPID,dispID) \
ICOM_METHOD1(HRESULT,FreezeEvents, BOOL,bFreeze)
#define IOleControl_IMETHODS \
...
...
@@ -198,7 +203,7 @@ ICOM_DEFINE(IOleControl,IUnknown)
ICOM_METHOD1(HRESULT,LockInPlaceActive, BOOL,fLock) \
ICOM_METHOD1(HRESULT,GetExtendedControl, IDispatch**,ppDisp) \
ICOM_METHOD3(HRESULT,TransformCoords, POINTL*,pPtlHimetric, POINTF*,pPtfContainer, DWORD,dwFlags) \
ICOM_METHOD2(HRESULT,TranslateAccelerator, MSG*,pMsg, DWORD,grfModifiers) \
ICOM_METHOD2(HRESULT,TranslateAccelerator,
struct tag
MSG*,pMsg, DWORD,grfModifiers) \
ICOM_METHOD1(HRESULT,OnFocus, BOOL,fGotFocus) \
ICOM_METHOD (HRESULT,ShowPropertyFrame)
#define IOleControlSite_IMETHODS \
...
...
include/wine/obj_dataobject.h
View file @
4405f3c3
/*
* Defines the COM interfaces and APIs related to IDataObject.
*
* Depends on 'obj_moniker.h', 'obj_storage.h' and 'obj_base.h'.
*/
#ifndef __WINE_WINE_OBJ_DATAOBJECT_H
#define __WINE_WINE_OBJ_DATAOBJECT_H
#include "wine/obj_base.h"
#include "wine/obj_moniker.h"
#include "wine/obj_storage.h"
#if defined(__cplusplus) && !defined(NONAMELESSUNION)
#define DUMMYUNIONNAME
#else
/* defined(__cplusplus) && !defined(NONAMELESSUNION) */
...
...
include/wine/obj_inplace.h
View file @
4405f3c3
...
...
@@ -8,8 +8,7 @@
#define __WINE_WINE_OBJ_INPLACE_H
#include "winbase.h"
#include "winuser.h"
struct
tagMSG
;
#include "wine/obj_moniker.h"
#ifdef __cplusplus
...
...
@@ -206,7 +205,7 @@ ICOM_DEFINE(IOleInPlaceObject,IOleWindow)
*/
#define ICOM_INTERFACE IOleInPlaceActiveObject
#define IOleInPlaceActiveObject_METHODS \
ICOM_METHOD1(HRESULT,TranslateAccelerator,
LPMSG
,lpmsg) \
ICOM_METHOD1(HRESULT,TranslateAccelerator,
struct tagMSG*
,lpmsg) \
ICOM_METHOD1(HRESULT,OnFrameWindowActivate, BOOL,fActivate) \
ICOM_METHOD1(HRESULT,OnDocWindowActivate, BOOL,fActivate) \
ICOM_METHOD3(HRESULT,ResizeBorder, LPCRECT,prcBorder, IOleInPlaceUIWindow*,pUIWindow, BOOL,fWindowFrame) \
...
...
@@ -274,7 +273,7 @@ ICOM_DEFINE(IOleInPlaceUIWindow,IOleWindow)
ICOM_METHOD1 (HRESULT,RemoveMenus, HMENU,hemnuShared) \
ICOM_METHOD1 (HRESULT,SetStatusText, LPCOLESTR,pszStatusText) \
ICOM_METHOD1 (HRESULT,EnableModeless, BOOL,fEnable) \
ICOM_METHOD2 (HRESULT,TranslateAccelerator,
LPMSG
,lpmsg, WORD,wID)
ICOM_METHOD2 (HRESULT,TranslateAccelerator,
struct tagMSG*
,lpmsg, WORD,wID)
#define IOleInPlaceFrame_IMETHODS \
IOleInPlaceUIWindow_IMETHODS \
IOleInPlaceFrame_METHODS
...
...
include/wine/obj_olefont.h
View file @
4405f3c3
...
...
@@ -7,6 +7,7 @@
#ifndef __WINE_WINE_OBJ_OLEFONT_H
#define __WINE_WINE_OBJ_OLEFONT_H
#include "wine/obj_oleaut.h"
#include "wine/obj_base.h"
#include "wingdi.h"
/* TEXTMETRIC*/
...
...
include/wine/obj_oleobj.h
View file @
4405f3c3
...
...
@@ -8,9 +8,12 @@
#define __WINE_WINE_OBJ_OLEOBJ_H
#include "winbase.h"
#include "winuser.h"
#include "wine/obj_base.h"
#include "wine/obj_moniker.h"
#include "wine/obj_inplace.h"
#include "wine/obj_dataobject.h"
struct
tagMSG
;
struct
tagLOGPALETTE
;
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -88,7 +91,7 @@ typedef struct IEnumOLEVERB IEnumOLEVERB, *LPENUMOLEVERB;
ICOM_METHOD3(HRESULT,GetMoniker, DWORD,dwAssign, DWORD,dwWhichMoniker, IMoniker**,ppmk) \
ICOM_METHOD3(HRESULT,InitFromData, IDataObject*,pDataObject, BOOL,fCreation, DWORD,dwReserved) \
ICOM_METHOD2(HRESULT,GetClipboardData, DWORD,dwReserved, IDataObject**,ppDataObject) \
ICOM_METHOD6(HRESULT,DoVerb, LONG,iVerb,
LPMSG
,lpmsg, IOleClientSite*,pActiveSite, LONG,lindex, HWND,hwndParent, LPCRECT,lprcPosRect) \
ICOM_METHOD6(HRESULT,DoVerb, LONG,iVerb,
struct tagMSG*
,lpmsg, IOleClientSite*,pActiveSite, LONG,lindex, HWND,hwndParent, LPCRECT,lprcPosRect) \
ICOM_METHOD1(HRESULT,EnumVerbs, IEnumOLEVERB**,ppEnumOleVerb) \
ICOM_METHOD (HRESULT,Update) \
ICOM_METHOD (HRESULT,IsUpToDate) \
...
...
@@ -100,7 +103,7 @@ typedef struct IEnumOLEVERB IEnumOLEVERB, *LPENUMOLEVERB;
ICOM_METHOD1(HRESULT,Unadvise, DWORD,dwConnection) \
ICOM_METHOD1(HRESULT,EnumAdvise, IEnumSTATDATA**,ppenumAdvise) \
ICOM_METHOD2(HRESULT,GetMiscStatus, DWORD,dwAspect, DWORD*,pdwStatus) \
ICOM_METHOD1(HRESULT,SetColorScheme, LOGPALETTE*,pLogpal)
ICOM_METHOD1(HRESULT,SetColorScheme,
struct tag
LOGPALETTE*,pLogpal)
#define IOleObject_IMETHODS \
IUnknown_IMETHODS \
IOleObject_METHODS
...
...
include/wine/obj_oleview.h
View file @
4405f3c3
/*
* Defines the COM interfaces and APIs related to ViewObject
*
* Depends on 'obj_base.h'.
*/
#ifndef __WINE_WINE_OBJ_OLEVIEW_H
#define __WINE_WINE_OBJ_OLEVIEW_H
#include "winbase.h"
#include "wine/obj_base.h"
#include "wine/obj_dataobject.h"
struct
tagLOGPALETTE
;
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -37,7 +39,7 @@ typedef BOOL (CALLBACK* IVO_ContCallback)(DWORD);
#define ICOM_INTERFACE IViewObject
#define IViewObject_METHODS \
ICOM_METHOD10(HRESULT,Draw, DWORD,dwDrawAspect, LONG,lindex, void*,pvAspect, DVTARGETDEVICE*,ptd, HDC,hdcTargetDev, HDC,hdcDraw, LPCRECTL,lprcBounds, LPCRECTL,lprcWBounds, IVO_ContCallback, pfnContinue, DWORD,dwContinue) \
ICOM_METHOD6(HRESULT,GetColorSet, DWORD,dwDrawAspect, LONG,lindex, void*,pvAspect, DVTARGETDEVICE*,ptd, HDC,hicTargetDevice, LOGPALETTE**,ppColorSet) \
ICOM_METHOD6(HRESULT,GetColorSet, DWORD,dwDrawAspect, LONG,lindex, void*,pvAspect, DVTARGETDEVICE*,ptd, HDC,hicTargetDevice,
struct tag
LOGPALETTE**,ppColorSet) \
ICOM_METHOD4(HRESULT,Freeze, DWORD,dwDrawAspect, LONG,lindex, void*,pvAspect, DWORD*,pdwFreeze) \
ICOM_METHOD1(HRESULT,Unfreeze, DWORD,dwFreeze) \
ICOM_METHOD3(HRESULT,SetAdvise, DWORD,aspects, DWORD,advf, IAdviseSink*,pAdvSink) \
...
...
include/wingdi.h
View file @
4405f3c3
...
...
@@ -1338,7 +1338,7 @@ typedef struct tagPALETTEENTRY
#define PC_EXPLICIT 0x02
#define PC_NOCOLLAPSE 0x04
typedef
struct
typedef
struct
tagLOGPALETTE
{
WORD
palVersion
;
WORD
palNumEntries
;
...
...
include/winuser.h
View file @
4405f3c3
...
...
@@ -1247,7 +1247,7 @@ typedef struct
DECL_WINELIB_TYPE_AW
(
WNDCLASSEX
)
DECL_WINELIB_TYPE_AW
(
LPWNDCLASSEX
)
typedef
struct
typedef
struct
tagMSG
{
HWND
hwnd
;
UINT
message
;
...
...
ole/antimoniker.c
View file @
4405f3c3
...
...
@@ -5,14 +5,10 @@
***************************************************************************************/
#include <assert.h>
#include "winbase.h"
#include "winerror.h"
#include "wine/obj_moniker.h"
#include "debugtools.h"
#include "heap.h"
#include "winuser.h"
#include "file.h"
#include "winreg.h"
#include "objbase.h"
#include "wine/obj_inplace.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
ole/clipboard.c
View file @
4405f3c3
...
...
@@ -45,6 +45,7 @@
#include <assert.h>
#include "winuser.h"
#include "winbase.h"
#include "winerror.h"
#include "ole2.h"
#include "class.h"
...
...
ole/compositemoniker.c
View file @
4405f3c3
...
...
@@ -3,15 +3,10 @@
*
* Copyright 1999 Noomen Hamza
***************************************************************************************/
#include <assert.h>
#include "winbase.h"
#include "winerror.h"
#include "debugtools.h"
#include "heap.h"
#include "winuser.h"
#include "file.h"
#include "winreg.h"
#include "objbase.h"
#include "wine/obj_inplace.h"
#include "ole2.h"
...
...
ole/datacache.c
View file @
4405f3c3
...
...
@@ -31,10 +31,11 @@
* was stored but that's about it.
*/
#include <assert.h>
#include "win
user
.h"
#include "wingdi.h"
#include "win
base
.h"
#include "winerror.h"
#include "ole2.h"
#include "wine/obj_oleview.h"
#include "wine/obj_cache.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
ole/defaulthandler.c
View file @
4405f3c3
...
...
@@ -32,9 +32,11 @@
*/
#include <assert.h>
#include "winuser.h"
#include "winbase.h"
#include "oleauto.h"
/* for SysFreeString(BSTR) */
#include "winerror.h"
#include "ole2.h"
#include "wine/obj_oleview.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
@@ -177,7 +179,7 @@ static HRESULT WINAPI DefaultHandler_GetClipboardData(
static
HRESULT
WINAPI
DefaultHandler_DoVerb
(
IOleObject
*
iface
,
LONG
iVerb
,
LPMSG
lpmsg
,
struct
tagMSG
*
lpmsg
,
IOleClientSite
*
pActiveSite
,
LONG
lindex
,
HWND
hwndParent
,
...
...
@@ -219,8 +221,8 @@ static HRESULT WINAPI DefaultHandler_GetMiscStatus(
DWORD
dwAspect
,
DWORD
*
pdwStatus
);
static
HRESULT
WINAPI
DefaultHandler_SetColorScheme
(
IOleObject
*
iface
,
LOGPALETTE
*
pLogpal
);
IOleObject
*
iface
,
struct
tagLOGPALETTE
*
pLogpal
);
/*
* Prototypes for the methods of the DefaultHandler class
...
...
@@ -952,7 +954,7 @@ static HRESULT WINAPI DefaultHandler_GetClipboardData(
static
HRESULT
WINAPI
DefaultHandler_DoVerb
(
IOleObject
*
iface
,
LONG
iVerb
,
LPMSG
lpmsg
,
struct
tagMSG
*
lpmsg
,
IOleClientSite
*
pActiveSite
,
LONG
lindex
,
HWND
hwndParent
,
...
...
@@ -1246,8 +1248,8 @@ static HRESULT WINAPI DefaultHandler_GetMiscStatus(
* See Windows documentation for more details on IOleObject methods.
*/
static
HRESULT
WINAPI
DefaultHandler_SetColorScheme
(
IOleObject
*
iface
,
LOGPALETTE
*
pLogpal
)
IOleObject
*
iface
,
struct
tagLOGPALETTE
*
pLogpal
)
{
TRACE
(
"(%p, %p))
\n
"
,
iface
,
pLogpal
);
return
OLE_E_NOTRUNNING
;
...
...
ole/filemoniker.c
View file @
4405f3c3
...
...
@@ -5,14 +5,12 @@
***************************************************************************************/
#include <assert.h>
#include "winbase.h"
#include "winerror.h"
#include "debugtools.h"
#include "heap.h"
#include "winuser.h"
#include "file.h"
#include "winreg.h"
#include "objbase.h"
#include "wine/obj_storage.h"
#include "wine/obj_moniker.h"
#include "wine/obj_base.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
ole/itemmoniker.c
View file @
4405f3c3
...
...
@@ -4,14 +4,13 @@
* Copyright 1999 Noomen Hamza
***************************************************************************************/
#include "wine/obj_base.h"
#include "wine/obj_moniker.h"
#include "winbase.h"
#include <assert.h>
#include "winerror.h"
#include "debugtools.h"
#include "heap.h"
#include "winuser.h"
#include "file.h"
#include "winreg.h"
#include "objbase.h"
#include "wine/obj_inplace.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
ole/ole2.c
View file @
4405f3c3
...
...
@@ -14,7 +14,6 @@
#include "winerror.h"
#include "ole2.h"
#include "process.h"
#include "hook.h"
#include "commctrl.h"
#include "wine/obj_clientserver.h"
#include "wine/wingdi16.h"
...
...
ole/ole2disp.c
View file @
4405f3c3
...
...
@@ -3,10 +3,9 @@
*
* Copyright 1995 Martin von Loewis
*/
#include <string.h>
#include "winuser.h"
#include "winerror.h"
#include "ole2.h"
#include "oleauto.h"
#include "wine/obj_base.h"
#include "heap.h"
...
...
ole/ole2stubs.c
View file @
4405f3c3
...
...
@@ -59,7 +59,7 @@ HRESULT WINAPI WriteFmtUserTypeStg(
* OleTranslateAccelerator [OLE32.130]
*/
HRESULT
WINAPI
OleTranslateAccelerator
(
LPOLEINPLACEFRAME
lpFrame
,
LPOLEINPLACEFRAMEINFO
lpFrameInfo
,
LPMSG
lpmsg
)
LPOLEINPLACEFRAMEINFO
lpFrameInfo
,
struct
tagMSG
*
lpmsg
)
{
FIXME
(
"(%p,%p,%p),stub!
\n
"
,
lpFrame
,
lpFrameInfo
,
lpmsg
);
return
S_OK
;
...
...
@@ -78,7 +78,7 @@ HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew)
/******************************************************************************
* IsAccelerator [OLE32.75]
*/
BOOL
WINAPI
IsAccelerator
(
HACCEL
hAccel
,
int
cAccelEntries
,
LPMSG
lpMsg
,
WORD
*
lpwCmd
)
BOOL
WINAPI
IsAccelerator
(
HACCEL
hAccel
,
int
cAccelEntries
,
struct
tagMSG
*
lpMsg
,
WORD
*
lpwCmd
)
{
FIXME
(
"(%x,%i,%p,%p), stub!
\n
"
,
hAccel
,
cAccelEntries
,
lpMsg
,
lpwCmd
);
return
TRUE
;
...
...
ole/olecli.c
View file @
4405f3c3
...
...
@@ -6,11 +6,8 @@
/* At the moment, these are only empty stubs.
*/
#include "winerror.h"
#include "ole.h"
#include "gdi.h"
#include "objidl.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
ole
)
...
...
ole/olefont.c
View file @
4405f3c3
...
...
@@ -9,8 +9,9 @@
#include <assert.h>
#include <string.h>
#include "winerror.h"
#include "oleauto.h"
#include "ocidl.h"
#include "oleauto.h"
/* for SysAllocString(....) */
#include "wine/obj_olefont.h"
#include "wine/obj_storage.h"
#include "olectl.h"
#include "debugtools.h"
#include "heap.h"
...
...
ole/storage32.c
View file @
4405f3c3
...
...
@@ -15,17 +15,11 @@
#include <stdio.h>
#include <string.h>
#include "winbase.h"
#include "winerror.h"
#include "wine/obj_storage.h"
#include "wine/winestring.h"
#include "crtdll.h"
#include "tchar.h"
#include "winbase.h"
/* for lstrlenW() and the likes */
#include "debugtools.h"
#include "windef.h"
#include "storage32.h"
#include "ole2.h"
#include "ole2.h"
/* For Write/ReadClassStm */
DEFAULT_DEBUG_CHANNEL
(
storage
)
...
...
ole/storage32.h
View file @
4405f3c3
...
...
@@ -15,6 +15,10 @@
#ifndef __STORAGE32_H__
#define __STORAGE32_H__
#include "wtypes.h"
#include "winnt.h"
#include "wine/obj_storage.h"
/*
* Definitions for the file format offsets.
*/
...
...
ole/typelib.c
View file @
4405f3c3
...
...
@@ -27,12 +27,10 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winerror.h"
#include "winreg.h"
#include "oleauto.h"
#include "winnls.h"
#include "wine/winbase16.h"
#include "winreg.h"
/* for HKEY_LOCAL_MACHINE */
#include "winnls.h"
/* for PRIMARYLANGID */
#include "wine/winbase16.h"
/* for RegQueryValue16(HKEY,LPSTR,LPSTR,LPDWORD) */
#include "heap.h"
#include "wine/obj_base.h"
#include "debugtools.h"
...
...
ole/typelib.h
View file @
4405f3c3
...
...
@@ -9,9 +9,7 @@
#define _WINE_TYPELIB_H
#include "ole2.h"
#include "oleauto.h"
#include "oaidl.h"
#define TLBMAGIC2 "MSFT"
...
...
ole/variant.c
View file @
4405f3c3
...
...
@@ -10,7 +10,7 @@
* initialization, copying, destroying and changing the type of VARIANTs.
*
* TODO:
* - The Variant APIs
are
do not support international languages, currency
* - The Variant APIs do not support international languages, currency
* types, number formating and calendar. They only support U.S. English format.
* - The Variant APIs do not the following types: IUknown, IDispatch, DECIMAL and SafeArray.
* The prototypes for these are commented out in the oleauto.h file. They need
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment