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
73ffe2ae
Commit
73ffe2ae
authored
Sep 06, 2002
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Sep 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented SHCreateStdEnumFmtEtc.
parent
c514a781
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
shell32.spec
dlls/shell32/shell32.spec
+1
-1
shellord.c
dlls/shell32/shellord.c
+28
-0
No files found.
dlls/shell32/shell32.spec
View file @
73ffe2ae
...
...
@@ -67,7 +67,7 @@ init Shell32LibMain
71 stdcall Shell_GetImageList(ptr ptr) Shell_GetImageList
72 stdcall Shell_GetCachedImageIndex(ptr ptr long) Shell_GetCachedImageIndexAW
73 stdcall SHShellFolderView_Message(long long long) SHShellFolderView_Message
74 st
ub
SHCreateStdEnumFmtEtc
74 st
dcall SHCreateStdEnumFmtEtc(long ptr ptr)
SHCreateStdEnumFmtEtc
75 stdcall PathYetAnotherMakeUniqueName(ptr ptr ptr ptr) PathYetAnotherMakeUniqueNameA
76 stub DragQueryInfo
77 stdcall SHMapPIDLToSystemImageListIndex(long long long) SHMapPIDLToSystemImageListIndex
...
...
dlls/shell32/shellord.c
View file @
73ffe2ae
...
...
@@ -19,6 +19,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <string.h>
#include <stdio.h>
#include "winerror.h"
...
...
@@ -1354,3 +1356,29 @@ HRESULT WINAPI CIDLData_CreateFromIDArray(
if
(
*
ppdataObject
)
return
S_OK
;
return
E_OUTOFMEMORY
;
}
/*************************************************************************
* SHCreateStdEnumFmtEtc [SHELL32.74]
*
* NOTES
*
*/
HRESULT
WINAPI
SHCreateStdEnumFmtEtc
(
DWORD
cFormats
,
const
FORMATETC
*
lpFormats
,
LPENUMFORMATETC
*
ppenumFormatetc
)
{
IEnumFORMATETC
*
pef
;
HRESULT
hRes
;
TRACE
(
"cf=%ld fe=%p pef=%p
\n
"
,
cFormats
,
lpFormats
,
ppenumFormatetc
);
pef
=
IEnumFORMATETC_Constructor
(
cFormats
,
lpFormats
);
if
(
!
pef
)
return
E_OUTOFMEMORY
;
IEnumFORMATETC_AddRef
(
pef
);
hRes
=
IEnumFORMATETC_QueryInterface
(
pef
,
&
IID_IEnumFORMATETC
,
(
LPVOID
*
)
ppenumFormatetc
);
IEnumFORMATETC_Release
(
pef
);
return
hRes
;
}
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