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
ebcc72c9
Commit
ebcc72c9
authored
Nov 01, 2000
by
Juergen Schmied
Committed by
Alexandre Julliard
Nov 01, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better handling of custom templates and hooks.
Bug fixes.
parent
697a621a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
105 deletions
+63
-105
filedlg95.c
dlls/commdlg/filedlg95.c
+0
-0
filedlgbrowser.c
dlls/commdlg/filedlgbrowser.c
+0
-0
filedlgbrowser.h
dlls/commdlg/filedlgbrowser.h
+12
-105
commdlg.h
include/commdlg.h
+2
-0
obj_serviceprovider.h
include/wine/obj_serviceprovider.h
+47
-0
obj_shellbrowser.h
include/wine/obj_shellbrowser.h
+2
-0
No files found.
dlls/commdlg/filedlg95.c
View file @
ebcc72c9
This diff is collapsed.
Click to expand it.
dlls/commdlg/filedlgbrowser.c
View file @
ebcc72c9
This diff is collapsed.
Click to expand it.
dlls/commdlg/filedlgbrowser.h
View file @
ebcc72c9
...
...
@@ -15,7 +15,11 @@
/***********************************************************************
* Defines and global variables
*/
#define _ICOM_THIS_FromICommDlgBrowser(Class,name) Class* This = (Class*) (((char*)name)-sizeof(void *))
#define _ICommDlgBrowser_Offset ((int)(&(((IShellBrowserImpl*)0)->lpVtblCommDlgBrowser)))
#define _ICOM_THIS_FromICommDlgBrowser(class, name) class* This = (class*)(((char*)name)-_ICommDlgBrowser_Offset);
#define _IServiceProvider_Offset ((int)(&(((IShellBrowserImpl*)0)->lpVtblServiceProvider)))
#define _ICOM_THIS_FromIServiceProvider(class, name) class* This = (class*)(((char*)name)-_IServiceProvider_Offset);
/* dialog internal property */
...
...
@@ -30,16 +34,6 @@
typedef
struct
{
ICOM_VTABLE
(
IShellBrowser
)
*
lpVtbl
;
/* IShellBrowser VTable */
ICOM_VTABLE
(
ICommDlgBrowser
)
*
lpVtbl2
;
/* ICommDlgBrowser VTable */
DWORD
ref
;
/* Reference counter */
HWND
hwndOwner
;
/* Owner dialog of the interface */
}
IShellBrowserImpl
;
typedef
struct
{
LPOPENFILENAMEA
ofnInfos
;
struct
{
...
...
@@ -67,6 +61,13 @@ typedef struct
DWORD
dwDlgProp
;
}
DlgInfos
;
struct
{
UINT
fileokstring
;
UINT
lbselchstring
;
UINT
helpmsgstring
;
UINT
sharevistring
;
}
HookMsg
;
}
FileOpenDlgInfos
;
/***********************************************************************
...
...
@@ -124,100 +125,6 @@ typedef struct
/* Constructor */
IShellBrowser
*
IShellBrowserImpl_Construct
(
HWND
hwndOwner
);
/* IUnknown */
HRESULT
WINAPI
IShellBrowserImpl_QueryInterface
(
IShellBrowser
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
);
ULONG
WINAPI
IShellBrowserImpl_AddRef
(
IShellBrowser
*
iface
);
ULONG
WINAPI
IShellBrowserImpl_Release
(
IShellBrowser
*
iface
);
/* IOleWindow */
HRESULT
WINAPI
IShellBrowserImpl_GetWindow
(
IShellBrowser
*
iface
,
HWND
*
phwnd
);
HRESULT
WINAPI
IShellBrowserImpl_ContextSensitiveHelp
(
IShellBrowser
*
iface
,
BOOL
fEnterMode
);
/* IShellBrowser */
HRESULT
WINAPI
IShellBrowserImpl_BrowseObject
(
IShellBrowser
*
iface
,
LPCITEMIDLIST
pidl
,
UINT
wFlags
);
HRESULT
WINAPI
IShellBrowserImpl_EnableModelessSB
(
IShellBrowser
*
iface
,
BOOL
fEnable
);
HRESULT
WINAPI
IShellBrowserImpl_GetControlWindow
(
IShellBrowser
*
iface
,
UINT
id
,
HWND
*
lphwnd
);
HRESULT
WINAPI
IShellBrowserImpl_GetViewStateStream
(
IShellBrowser
*
iface
,
DWORD
grfMode
,
LPSTREAM
*
ppStrm
);
HRESULT
WINAPI
IShellBrowserImpl_InsertMenusSB
(
IShellBrowser
*
iface
,
HMENU
hmenuShared
,
LPOLEMENUGROUPWIDTHS
lpMenuWidths
);
HRESULT
WINAPI
IShellBrowserImpl_OnViewWindowActive
(
IShellBrowser
*
iface
,
IShellView
*
ppshv
);
HRESULT
WINAPI
IShellBrowserImpl_QueryActiveShellView
(
IShellBrowser
*
iface
,
IShellView
**
ppshv
);
HRESULT
WINAPI
IShellBrowserImpl_RemoveMenusSB
(
IShellBrowser
*
iface
,
HMENU
hmenuShared
);
HRESULT
WINAPI
IShellBrowserImpl_SendControlMsg
(
IShellBrowser
*
iface
,
UINT
id
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
pret
);
HRESULT
WINAPI
IShellBrowserImpl_SetMenuSB
(
IShellBrowser
*
iface
,
HMENU
hmenuShared
,
HOLEMENU
holemenuReserved
,
HWND
hwndActiveObject
);
HRESULT
WINAPI
IShellBrowserImpl_SetStatusTextSB
(
IShellBrowser
*
iface
,
LPCOLESTR
lpszStatusText
);
HRESULT
WINAPI
IShellBrowserImpl_SetToolbarItems
(
IShellBrowser
*
iface
,
LPTBBUTTON
lpButtons
,
UINT
nButtons
,
UINT
uFlags
);
HRESULT
WINAPI
IShellBrowserImpl_TranslateAcceleratorSB
(
IShellBrowser
*
iface
,
LPMSG
lpmsg
,
WORD
wID
);
/* ICommDlgBrowser */
HRESULT
WINAPI
IShellBrowserImpl_ICommDlgBrowser_QueryInterface
(
ICommDlgBrowser
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
);
ULONG
WINAPI
IShellBrowserImpl_ICommDlgBrowser_AddRef
(
ICommDlgBrowser
*
iface
);
ULONG
WINAPI
IShellBrowserImpl_ICommDlgBrowser_Release
(
ICommDlgBrowser
*
iface
);
HRESULT
WINAPI
IShellBrowserImpl_ICommDlgBrowser_OnDefaultCommand
(
ICommDlgBrowser
*
iface
,
IShellView
*
ppshv
);
HRESULT
WINAPI
IShellBrowserImpl_ICommDlgBrowser_OnStateChange
(
ICommDlgBrowser
*
iface
,
IShellView
*
ppshv
,
ULONG
uChange
);
HRESULT
WINAPI
IShellBrowserImpl_ICommDlgBrowser_IncludeObject
(
ICommDlgBrowser
*
iface
,
IShellView
*
ppshv
,
LPCITEMIDLIST
pidl
);
LPITEMIDLIST
GetPidlFromDataObject
(
IDataObject
*
doSelected
,
UINT
nPidlIndex
);
UINT
GetNumSelected
(
IDataObject
*
doSelected
);
...
...
include/commdlg.h
View file @
ebcc72c9
...
...
@@ -36,6 +36,8 @@ extern "C" {
#define OFN_LONGNAMES 0x00200000
#define OFN_ENABLEINCLUDENOTIFY 0x00400000
#define OFN_ENABLESIZING 0x00800000
#define OFN_DONTADDTORECENT 0x02000000
#define OFN_FORCESHOWHIDDEN 0x10000000
/* WINE internal flags */
#define OFN_UNICODE 0x40000000
/*to differ between 32W/A hook*/
...
...
include/wine/obj_serviceprovider.h
0 → 100644
View file @
ebcc72c9
/*
* Defines the COM interfaces and APIs related to IServiceProvider
*
* Depends on 'obj_base.h'.
*/
#ifndef __WINE_WINE_OBJ_SERVICEPROVIDER_H
#define __WINE_WINE_OBJ_SERVICEPROVIDER_H
#include "wine/obj_base.h"
#include "winbase.h"
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
/*****************************************************************************
* Predeclare the interfaces
*/
DEFINE_GUID
(
IID_IServiceProvider
,
0x6d5140c1
,
0x7436
,
0x11ce
,
0x80
,
0x34
,
0x00
,
0xaa
,
0x00
,
0x60
,
0x09
,
0xfa
);
typedef
struct
IServiceProvider
IServiceProvider
,
*
LPSERVICEPROVIDER
;
/*****************************************************************************
* IServiceProvider interface
*/
#define ICOM_INTERFACE IServiceProvider
#define IServiceProvider_METHODS \
ICOM_METHOD3( HRESULT, QueryService, REFGUID, guidService, REFIID, riid, void**, ppv)
#define IServiceProvider_IMETHODS \
IUnknown_IMETHODS \
IServiceProvider_METHODS
ICOM_DEFINE
(
IServiceProvider
,
IUnknown
)
#undef ICOM_INTERFACE
/*** IUnknown methods ***/
#define IServiceProvider_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IServiceProvider_AddRef(p) ICOM_CALL (AddRef,p)
#define IServiceProvider_Release(p) ICOM_CALL (Release,p)
/*** IServiceProvider methods ***/
#define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* __WINE_WINE_OBJ_SERVICEPROVIDER_H */
include/wine/obj_shellbrowser.h
View file @
ebcc72c9
...
...
@@ -15,6 +15,8 @@ extern "C" {
#define SID_SShellBrowser IID_IShellBrowser
DEFINE_GUID
(
SID_STopLevelBrowser
,
0x4C96BE40L
,
0x915C
,
0x11CF
,
0x99
,
0xD3
,
0x00
,
0xAA
,
0x00
,
0x4A
,
0xE8
,
0x37
);
/* targets for GetWindow/SendControlMsg */
#define FCW_STATUS 0x0001
#define FCW_TOOLBAR 0x0002
...
...
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