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
ef6f3a30
Commit
ef6f3a30
authored
Jun 15, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Get rid of unneeded function typedefs.
parent
74605efe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
shelllink.c
dlls/shell32/tests/shelllink.c
+8
-13
No files found.
dlls/shell32/tests/shelllink.c
View file @
ef6f3a30
...
@@ -37,15 +37,10 @@
...
@@ -37,15 +37,10 @@
# define SLDF_HAS_LOGO3ID 0x00000800
/* not available in the Vista SDK */
# define SLDF_HAS_LOGO3ID 0x00000800
/* not available in the Vista SDK */
#endif
#endif
typedef
void
(
WINAPI
*
fnILFree
)(
LPITEMIDLIST
);
static
void
(
WINAPI
*
pILFree
)(
LPITEMIDLIST
);
typedef
BOOL
(
WINAPI
*
fnILIsEqual
)(
LPCITEMIDLIST
,
LPCITEMIDLIST
);
static
BOOL
(
WINAPI
*
pILIsEqual
)(
LPCITEMIDLIST
,
LPCITEMIDLIST
);
typedef
HRESULT
(
WINAPI
*
fnSHILCreateFromPath
)(
LPCWSTR
,
LPITEMIDLIST
*
,
DWORD
*
);
static
HRESULT
(
WINAPI
*
pSHILCreateFromPath
)(
LPCWSTR
,
LPITEMIDLIST
*
,
DWORD
*
);
typedef
HRESULT
(
WINAPI
*
fnSHDefExtractIconA
)(
LPCSTR
,
int
,
UINT
,
HICON
*
,
HICON
*
,
UINT
);
static
HRESULT
(
WINAPI
*
pSHDefExtractIconA
)(
LPCSTR
,
int
,
UINT
,
HICON
*
,
HICON
*
,
UINT
);
static
fnILFree
pILFree
;
static
fnILIsEqual
pILIsEqual
;
static
fnSHILCreateFromPath
pSHILCreateFromPath
;
static
fnSHDefExtractIconA
pSHDefExtractIconA
;
static
DWORD
(
WINAPI
*
pGetLongPathNameA
)(
LPCSTR
,
LPSTR
,
DWORD
);
static
DWORD
(
WINAPI
*
pGetLongPathNameA
)(
LPCSTR
,
LPSTR
,
DWORD
);
static
DWORD
(
WINAPI
*
pGetShortPathNameA
)(
LPCSTR
,
LPSTR
,
DWORD
);
static
DWORD
(
WINAPI
*
pGetShortPathNameA
)(
LPCSTR
,
LPSTR
,
DWORD
);
...
@@ -1005,10 +1000,10 @@ START_TEST(shelllink)
...
@@ -1005,10 +1000,10 @@ START_TEST(shelllink)
HMODULE
hmod
=
GetModuleHandleA
(
"shell32.dll"
);
HMODULE
hmod
=
GetModuleHandleA
(
"shell32.dll"
);
HMODULE
hkernel32
=
GetModuleHandleA
(
"kernel32.dll"
);
HMODULE
hkernel32
=
GetModuleHandleA
(
"kernel32.dll"
);
pILFree
=
(
fnILFree
)
GetProcAddress
(
hmod
,
(
LPSTR
)
155
);
pILFree
=
(
void
*
)
GetProcAddress
(
hmod
,
(
LPSTR
)
155
);
pILIsEqual
=
(
fnILIsEqual
)
GetProcAddress
(
hmod
,
(
LPSTR
)
21
);
pILIsEqual
=
(
void
*
)
GetProcAddress
(
hmod
,
(
LPSTR
)
21
);
pSHILCreateFromPath
=
(
fnSHILCreateFromPath
)
GetProcAddress
(
hmod
,
(
LPSTR
)
28
);
pSHILCreateFromPath
=
(
void
*
)
GetProcAddress
(
hmod
,
(
LPSTR
)
28
);
pSHDefExtractIconA
=
(
fnSHDefExtractIconA
)
GetProcAddress
(
hmod
,
"SHDefExtractIconA"
);
pSHDefExtractIconA
=
(
void
*
)
GetProcAddress
(
hmod
,
"SHDefExtractIconA"
);
pGetLongPathNameA
=
(
void
*
)
GetProcAddress
(
hkernel32
,
"GetLongPathNameA"
);
pGetLongPathNameA
=
(
void
*
)
GetProcAddress
(
hkernel32
,
"GetLongPathNameA"
);
pGetShortPathNameA
=
(
void
*
)
GetProcAddress
(
hkernel32
,
"GetShortPathNameA"
);
pGetShortPathNameA
=
(
void
*
)
GetProcAddress
(
hkernel32
,
"GetShortPathNameA"
);
...
...
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