Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5941686d
Commit
5941686d
authored
Apr 19, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
Add COMDLG32_DumpSBSPFlags().
parent
7e4e3887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
4 deletions
+45
-4
filedlgbrowser.c
dlls/commdlg/filedlgbrowser.c
+45
-4
No files found.
dlls/commdlg/filedlgbrowser.c
View file @
5941686d
...
@@ -95,6 +95,49 @@ extern HRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
...
@@ -95,6 +95,49 @@ extern HRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
* Helper functions
* Helper functions
*/
*/
#define add_flag(a) if (flags & a) {strcat(str, #a );strcat(str," ");}
static
void
COMDLG32_DumpSBSPFlags
(
UINT
uflags
)
{
if
(
TRACE_ON
(
commdlg
))
{
unsigned
int
i
;
static
const
struct
{
DWORD
mask
;
const
char
*
name
;
}
flags
[]
=
{
#define FE(x) { x, #x}
/* SBSP_DEFBROWSER == 0 */
FE
(
SBSP_SAMEBROWSER
),
FE
(
SBSP_NEWBROWSER
),
/* SBSP_DEFMODE == 0 */
FE
(
SBSP_OPENMODE
),
FE
(
SBSP_EXPLOREMODE
),
FE
(
SBSP_HELPMODE
),
FE
(
SBSP_NOTRANSFERHIST
),
/* SBSP_ABSOLUTE == 0 */
FE
(
SBSP_RELATIVE
),
FE
(
SBSP_PARENT
),
FE
(
SBSP_NAVIGATEBACK
),
FE
(
SBSP_NAVIGATEFORWARD
),
FE
(
SBSP_ALLOW_AUTONAVIGATE
),
FE
(
SBSP_NOAUTOSELECT
),
FE
(
SBSP_WRITENOHISTORY
),
FE
(
SBSP_REDIRECT
),
FE
(
SBSP_INITIATEDBYHLINKFRAME
),
};
#undef FE
DPRINTF
(
"SBSP Flags: %08x ="
,
uflags
);
for
(
i
=
0
;
i
<
(
sizeof
(
flags
)
/
sizeof
(
flags
[
0
]));
i
++
)
if
(
flags
[
i
].
mask
&
uflags
)
DPRINTF
(
"%s "
,
flags
[
i
].
name
);
DPRINTF
(
"
\n
"
);
}
}
static
void
COMDLG32_UpdateCurrentDir
(
FileOpenDlgInfos
*
fodInfos
)
static
void
COMDLG32_UpdateCurrentDir
(
FileOpenDlgInfos
*
fodInfos
)
{
{
char
lpstrPath
[
MAX_PATH
];
char
lpstrPath
[
MAX_PATH
];
...
@@ -314,10 +357,8 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
...
@@ -314,10 +357,8 @@ HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
IShellBrowserImpl
*
This
=
(
IShellBrowserImpl
*
)
iface
;
IShellBrowserImpl
*
This
=
(
IShellBrowserImpl
*
)
iface
;
TRACE
(
"(%p)(pidl=%p,flags=0x%08x(%s))
\n
"
,
This
,
pidl
,
wFlags
,
TRACE
(
"(%p)(pidl=%p,flags=0x%08x)
\n
"
,
This
,
pidl
,
wFlags
);
(
wFlags
&
SBSP_RELATIVE
)
?
"SBSP_RELATIVE"
:
COMDLG32_DumpSBSPFlags
(
wFlags
);
(
wFlags
&
SBSP_PARENT
)
?
"SBSP_PARENT"
:
(
wFlags
&
SBSP_ABSOLUTE
)
?
"SBSP_ABSOLUTE"
:
"SBPS_????"
);
fodInfos
=
(
FileOpenDlgInfos
*
)
GetPropA
(
This
->
hwndOwner
,
FileOpenDlgInfosStr
);
fodInfos
=
(
FileOpenDlgInfos
*
)
GetPropA
(
This
->
hwndOwner
,
FileOpenDlgInfosStr
);
...
...
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