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
6fd308cd
Commit
6fd308cd
authored
Nov 09, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Remove DECLSPEC_HIDDEN usage.
parent
dbda5b52
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
cdlg.h
dlls/comdlg32/cdlg.h
+12
-12
cdlg32.c
dlls/comdlg32/cdlg32.c
+1
-1
filedlgbrowser.h
dlls/comdlg32/filedlgbrowser.h
+8
-8
No files found.
dlls/comdlg32/cdlg.h
View file @
6fd308cd
...
...
@@ -26,11 +26,11 @@
/* Common dialogs implementation globals */
#define COMDLG32_Atom MAKEINTATOM(0xa000)
/* MS uses this one to identify props */
extern
HINSTANCE
COMDLG32_hInstance
DECLSPEC_HIDDEN
;
extern
HANDLE
COMDLG32_hActCtx
DECLSPEC_HIDDEN
;
extern
HINSTANCE
COMDLG32_hInstance
;
extern
HANDLE
COMDLG32_hActCtx
;
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
)
DECLSPEC_HIDDEN
;
LPVOID
COMDLG32_AllocMem
(
int
size
)
__WINE_ALLOC_SIZE
(
1
)
DECLSPEC_HIDDEN
;
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
);
LPVOID
COMDLG32_AllocMem
(
int
size
)
__WINE_ALLOC_SIZE
(
1
);
/* Find/Replace local definitions */
...
...
@@ -170,18 +170,18 @@ typedef struct {
#include "shellapi.h"
/* Constructors */
HRESULT
FileOpenDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
FileSaveDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
FileOpenDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
);
HRESULT
FileSaveDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
);
/* Shared helper functions */
void
COMDLG32_GetCanonicalPath
(
PCIDLIST_ABSOLUTE
pidlAbsCurrent
,
LPWSTR
lpstrFile
,
LPWSTR
lpstrPathAndFile
)
DECLSPEC_HIDDEN
;
void
COMDLG32_GetCanonicalPath
(
PCIDLIST_ABSOLUTE
pidlAbsCurrent
,
LPWSTR
lpstrFile
,
LPWSTR
lpstrPathAndFile
);
int
FILEDLG95_ValidatePathAction
(
LPWSTR
lpstrPathAndFile
,
IShellFolder
**
ppsf
,
HWND
hwnd
,
DWORD
flags
,
BOOL
isSaveDlg
,
int
defAction
)
DECLSPEC_HIDDEN
;
int
COMDLG32_SplitFileNames
(
LPWSTR
lpstrEdit
,
UINT
nStrLen
,
LPWSTR
*
lpstrFileList
,
UINT
*
sizeUsed
)
DECLSPEC_HIDDEN
;
void
FILEDLG95_OnOpenMessage
(
HWND
hwnd
,
int
idCaption
,
int
idText
)
DECLSPEC_HIDDEN
;
HWND
hwnd
,
DWORD
flags
,
BOOL
isSaveDlg
,
int
defAction
);
int
COMDLG32_SplitFileNames
(
LPWSTR
lpstrEdit
,
UINT
nStrLen
,
LPWSTR
*
lpstrFileList
,
UINT
*
sizeUsed
);
void
FILEDLG95_OnOpenMessage
(
HWND
hwnd
,
int
idCaption
,
int
idText
);
extern
BOOL
GetFileName31A
(
OPENFILENAMEA
*
lpofn
,
UINT
dlgType
)
DECLSPEC_HIDDEN
;
extern
BOOL
GetFileName31W
(
OPENFILENAMEW
*
lpofn
,
UINT
dlgType
)
DECLSPEC_HIDDEN
;
extern
BOOL
GetFileName31A
(
OPENFILENAMEA
*
lpofn
,
UINT
dlgType
);
extern
BOOL
GetFileName31W
(
OPENFILENAMEW
*
lpofn
,
UINT
dlgType
);
#define ONOPEN_BROWSE 1
#define ONOPEN_OPEN 2
...
...
dlls/comdlg32/cdlg32.c
View file @
6fd308cd
...
...
@@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#include "cdlg.h"
DECLSPEC_HIDDEN
HINSTANCE
COMDLG32_hInstance
=
0
;
HINSTANCE
COMDLG32_hInstance
=
0
;
HANDLE
COMDLG32_hActCtx
=
INVALID_HANDLE_VALUE
;
static
DWORD
COMDLG32_TlsIndex
=
TLS_OUT_OF_INDEXES
;
...
...
dlls/comdlg32/filedlgbrowser.h
View file @
6fd308cd
...
...
@@ -138,23 +138,23 @@ typedef struct
* Prototypes for the methods of the IShellBrowserImpl class
*/
/* Constructor */
IShellBrowser
*
IShellBrowserImpl_Construct
(
HWND
hwndOwner
)
DECLSPEC_HIDDEN
;
IShellBrowser
*
IShellBrowserImpl_Construct
(
HWND
hwndOwner
);
LPITEMIDLIST
GetPidlFromDataObject
(
IDataObject
*
doSelected
,
UINT
nPidlIndex
)
DECLSPEC_HIDDEN
;
LPITEMIDLIST
GetPidlFromDataObject
(
IDataObject
*
doSelected
,
UINT
nPidlIndex
);
/* Functions used by the EDIT box */
void
FILEDLG95_FILENAME_FillFromSelection
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
void
FILEDLG95_FILENAME_FillFromSelection
(
HWND
hwnd
);
/**************************************************************************
* External Prototypes
*/
extern
FileOpenDlgInfos
*
get_filedlg_infoptr
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
FileOpenDlgInfos
*
get_filedlg_infoptr
(
HWND
hwnd
);
extern
IShellFolder
*
GetShellFolderFromPidl
(
LPITEMIDLIST
pidlAbs
)
DECLSPEC_HIDDEN
;
extern
LPITEMIDLIST
GetParentPidl
(
LPITEMIDLIST
pidl
)
DECLSPEC_HIDDEN
;
extern
IShellFolder
*
GetShellFolderFromPidl
(
LPITEMIDLIST
pidlAbs
);
extern
LPITEMIDLIST
GetParentPidl
(
LPITEMIDLIST
pidl
);
extern
int
FILEDLG95_LOOKIN_SelectItem
(
HWND
hwnd
,
LPITEMIDLIST
pidl
)
DECLSPEC_HIDDEN
;
extern
LRESULT
SendCustomDlgNotificationMessage
(
HWND
hwndParentDlg
,
UINT
uCode
)
DECLSPEC_HIDDEN
;
extern
int
FILEDLG95_LOOKIN_SelectItem
(
HWND
hwnd
,
LPITEMIDLIST
pidl
);
extern
LRESULT
SendCustomDlgNotificationMessage
(
HWND
hwndParentDlg
,
UINT
uCode
);
#endif
/*SHBROWSER_H*/
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