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
f2276f5a
Commit
f2276f5a
authored
Jun 18, 2008
by
Jon Griffiths
Committed by
Alexandre Julliard
Jun 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Provide wide char definitions for CFSTR_*.
parent
fc3377d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
13 deletions
+9
-13
filedlg.c
dlls/comdlg32/filedlg.c
+2
-2
dataobject.c
dlls/shell32/dataobject.c
+2
-2
pidl.c
dlls/shell32/pidl.c
+1
-1
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+1
-1
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+1
-1
shv_bg_cmenu.c
dlls/shell32/shv_bg_cmenu.c
+1
-1
shlobj.h
include/shlobj.h
+0
-0
winefile.c
programs/winefile/winefile.c
+0
-4
No files found.
dlls/comdlg32/filedlg.c
View file @
f2276f5a
...
...
@@ -3268,7 +3268,7 @@ LPITEMIDLIST GetPidlFromDataObject ( IDataObject *doSelected, UINT nPidlIndex)
return
NULL
;
/* Set the FORMATETC structure*/
SETDefFormatEtc
(
formatetc
,
RegisterClipboardFormatA
(
CFSTR_SHELLIDLIST
),
TYMED_HGLOBAL
);
SETDefFormatEtc
(
formatetc
,
RegisterClipboardFormatA
(
CFSTR_SHELLIDLIST
A
),
TYMED_HGLOBAL
);
/* Get the pidls from IDataObject */
if
(
SUCCEEDED
(
IDataObject_GetData
(
doSelected
,
&
formatetc
,
&
medium
)))
...
...
@@ -3300,7 +3300,7 @@ UINT GetNumSelected( IDataObject *doSelected )
if
(
!
doSelected
)
return
0
;
/* Set the FORMATETC structure*/
SETDefFormatEtc
(
formatetc
,
RegisterClipboardFormatA
(
CFSTR_SHELLIDLIST
),
TYMED_HGLOBAL
);
SETDefFormatEtc
(
formatetc
,
RegisterClipboardFormatA
(
CFSTR_SHELLIDLIST
A
),
TYMED_HGLOBAL
);
/* Get the pidls from IDataObject */
if
(
SUCCEEDED
(
IDataObject_GetData
(
doSelected
,
&
formatetc
,
&
medium
)))
...
...
dlls/shell32/dataobject.c
View file @
f2276f5a
...
...
@@ -439,9 +439,9 @@ LPDATAOBJECT IDataObject_Constructor(HWND hwndOwner,
dto
->
apidl
=
_ILCopyaPidl
(
apidl
,
cidl
);
dto
->
cidl
=
cidl
;
dto
->
cfShellIDList
=
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
);
dto
->
cfShellIDList
=
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
);
dto
->
cfFileNameA
=
RegisterClipboardFormatA
(
CFSTR_FILENAMEA
);
dto
->
cfFileNameW
=
RegisterClipboardFormat
A
(
CFSTR_FILENAMEW
);
dto
->
cfFileNameW
=
RegisterClipboardFormat
W
(
CFSTR_FILENAMEW
);
InitFormatEtc
(
dto
->
pFormatEtc
[
0
],
dto
->
cfShellIDList
,
TYMED_HGLOBAL
);
InitFormatEtc
(
dto
->
pFormatEtc
[
1
],
CF_HDROP
,
TYMED_HGLOBAL
);
InitFormatEtc
(
dto
->
pFormatEtc
[
2
],
dto
->
cfFileNameA
,
TYMED_HGLOBAL
);
...
...
dlls/shell32/pidl.c
View file @
f2276f5a
...
...
@@ -712,7 +712,7 @@ HRESULT WINAPI SHGetRealIDL(LPSHELLFOLDER lpsf, LPCITEMIDLIST pidlSimple, LPITEM
STGMEDIUM
medium
;
FORMATETC
fmt
;
fmt
.
cfFormat
=
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
);
fmt
.
cfFormat
=
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
);
fmt
.
ptd
=
NULL
;
fmt
.
dwAspect
=
DVASPECT_CONTENT
;
fmt
.
lindex
=
-
1
;
...
...
dlls/shell32/shfldr_fs.c
View file @
f2276f5a
...
...
@@ -128,7 +128,7 @@ static void SF_RegisterClipFmt (IGenericSFImpl * This)
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
This
->
cfShellIDList
)
{
This
->
cfShellIDList
=
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
);
This
->
cfShellIDList
=
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
);
}
}
...
...
dlls/shell32/shfldr_unixfs.c
View file @
f2276f5a
...
...
@@ -834,7 +834,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_QueryInterface(IShellFolder2 *ifa
}
else
if
(
IsEqualIID
(
&
IID_IDropTarget
,
riid
))
{
*
ppv
=
STATIC_CAST
(
IDropTarget
,
This
);
if
(
!
cfShellIDList
)
cfShellIDList
=
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
);
cfShellIDList
=
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
);
}
else
{
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
...
...
dlls/shell32/shlview.c
View file @
f2276f5a
...
...
@@ -889,7 +889,7 @@ static HRESULT ShellView_OpenSelectedItems(IShellViewImpl * This)
if
(
0
==
CF_IDLIST
)
{
CF_IDLIST
=
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
);
CF_IDLIST
=
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
);
}
fetc
.
cfFormat
=
CF_IDLIST
;
fetc
.
ptd
=
NULL
;
...
...
dlls/shell32/shv_bg_cmenu.c
View file @
f2276f5a
...
...
@@ -234,7 +234,7 @@ static BOOL DoPaste(
TRACE
(
"pda=%p
\n
"
,
pda
);
/* Set the FORMATETC structure*/
InitFormatEtc
(
formatetc
,
RegisterClipboardFormat
A
(
CFSTR_SHELLIDLIST
),
TYMED_HGLOBAL
);
InitFormatEtc
(
formatetc
,
RegisterClipboardFormat
W
(
CFSTR_SHELLIDLISTW
),
TYMED_HGLOBAL
);
/* Get the pidls from IDataObject */
if
(
SUCCEEDED
(
IDataObject_GetData
(
pda
,
&
formatetc
,
&
medium
)))
...
...
include/shlobj.h
View file @
f2276f5a
This diff is collapsed.
Click to expand it.
programs/winefile/winefile.c
View file @
f2276f5a
...
...
@@ -4720,12 +4720,8 @@ static void InitInstance(HINSTANCE hinstance)
CoInitialize
(
NULL
);
CoGetMalloc
(
MEMCTX_TASK
,
&
Globals
.
iMalloc
);
SHGetDesktopFolder
(
&
Globals
.
iDesktop
);
#ifdef __WINE__
Globals
.
cfStrFName
=
RegisterClipboardFormatA
(
CFSTR_FILENAME
);
#else
Globals
.
cfStrFName
=
RegisterClipboardFormat
(
CFSTR_FILENAME
);
#endif
#endif
/* load column strings */
col
=
1
;
...
...
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