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
61a6a4f4
Commit
61a6a4f4
authored
Apr 12, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Export TaskDialogIndirect by ordinal and name.
parent
12f3ac4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
comctl32.spec
dlls/comctl32/comctl32.spec
+1
-1
misc.c
dlls/comctl32/tests/misc.c
+28
-1
No files found.
dlls/comctl32/comctl32.spec
View file @
61a6a4f4
...
...
@@ -61,6 +61,7 @@
340 stdcall -ordinal DPA_CreateEx(long long)
341 stdcall -noname SendNotify(long long long ptr)
342 stdcall -noname SendNotifyEx(long long long ptr long)
345 stdcall -ordinal TaskDialogIndirect(ptr ptr ptr ptr)
350 stdcall -noname StrChrA(str str)
351 stdcall -noname StrRChrA(str str long)
352 stdcall -noname StrCmpNA(str str long)
...
...
@@ -188,6 +189,5 @@
@ stdcall PropertySheet(ptr) PropertySheetA
@ stdcall PropertySheetA(ptr)
@ stdcall PropertySheetW(ptr)
@ stdcall TaskDialogIndirect(ptr ptr ptr ptr)
@ stdcall UninitializeFlatSB(long)
@ stdcall _TrackMouseEvent(ptr)
dlls/comctl32/tests/misc.c
View file @
61a6a4f4
...
...
@@ -22,6 +22,7 @@
#include <windows.h>
#include "wine/test.h"
#include "v6util.h"
static
PVOID
(
WINAPI
*
pAlloc
)(
LONG
);
static
PVOID
(
WINAPI
*
pReAlloc
)(
PVOID
,
LONG
);
...
...
@@ -186,13 +187,39 @@ static void test_Alloc(void)
ok
(
res
==
TRUE
,
"Expected TRUE, got %d
\n
"
,
res
);
}
static
void
test_TaskDialogIndirect
(
void
)
{
HINSTANCE
hinst
;
void
*
ptr
,
*
ptr2
;
hinst
=
LoadLibraryA
(
"comctl32.dll"
);
ptr
=
GetProcAddress
(
hinst
,
"TaskDialogIndirect"
);
if
(
!
ptr
)
{
win_skip
(
"TaskDialogIndirect not exported by name
\n
"
);
return
;
}
ptr2
=
GetProcAddress
(
hinst
,
(
const
CHAR
*
)
345
);
ok
(
ptr
==
ptr2
,
"got wrong pointer for ordinal 345, %p expected %p
\n
"
,
ptr2
,
ptr
);
}
START_TEST
(
misc
)
{
ULONG_PTR
ctx_cookie
;
HANDLE
hCtx
;
if
(
!
InitFunctionPtrs
())
return
;
test_GetPtrAW
();
test_Alloc
();
FreeLibrary
(
hComctl32
);
if
(
!
load_v6_module
(
&
ctx_cookie
,
&
hCtx
))
return
;
test_TaskDialogIndirect
();
unload_v6_module
(
ctx_cookie
,
hCtx
);
}
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