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
ed0c9ba6
Commit
ed0c9ba6
authored
Oct 05, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix compilation of typelib test with PSDK tools.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
fb5293f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
typelib.c
dlls/oleaut32/tests/typelib.c
+7
-4
No files found.
dlls/oleaut32/tests/typelib.c
View file @
ed0c9ba6
...
...
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSSTRUCT
#define NONAMELESSUNION
#define COBJMACROS
#define CONST_VTABLE
...
...
@@ -71,8 +74,8 @@
#define ARCH "none"
#endif
static
HRESULT
WINAPI
(
*
pRegisterTypeLibForUser
)(
ITypeLib
*
,
OLECHAR
*
,
OLECHAR
*
);
static
HRESULT
WINAPI
(
*
pUnRegisterTypeLibForUser
)(
REFGUID
,
WORD
,
WORD
,
LCID
,
SYSKIND
);
static
HRESULT
(
WINAPI
*
pRegisterTypeLibForUser
)(
ITypeLib
*
,
OLECHAR
*
,
OLECHAR
*
);
static
HRESULT
(
WINAPI
*
pUnRegisterTypeLibForUser
)(
REFGUID
,
WORD
,
WORD
,
LCID
,
SYSKIND
);
static
BOOL
(
WINAPI
*
pActivateActCtx
)(
HANDLE
,
ULONG_PTR
*
);
static
HANDLE
(
WINAPI
*
pCreateActCtxW
)(
PCACTCTXW
);
...
...
@@ -3773,12 +3776,12 @@ static void test_dump_typelib(const char *name)
desc->callconv);
printf(" /*#param*/ %d, /*#opt*/ %d, /*vtbl*/ %d, /*#scodes*/ %d, /*flags*/ 0x%x,\n",
desc->cParams, desc->cParamsOpt, desc->oVft, desc->cScodes, desc->wFuncFlags);
printf(" {%d, %x}, /* ret */\n", desc->elemdescFunc.tdesc.vt,
desc->elemdescFunc
.paramdesc.wParamFlags);
printf(" {%d, %x}, /* ret */\n", desc->elemdescFunc.tdesc.vt,
U(desc->elemdescFunc)
.paramdesc.wParamFlags);
printf(" { /* params */\n");
for (p = 0; p < desc->cParams; p++)
{
ELEMDESC e = desc->lprgelemdescParam[p];
printf(" {%d, %x},\n", e.tdesc.vt,
e
.paramdesc.wParamFlags);
printf(" {%d, %x},\n", e.tdesc.vt,
U(e)
.paramdesc.wParamFlags);
}
printf(" {-1, -1}\n");
printf(" },\n");
...
...
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