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
ad2beedc
Commit
ad2beedc
authored
Sep 27, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Sep 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Register the typelib.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a332f4e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
4 deletions
+51
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
Makefile.in
dlls/sapi/Makefile.in
+3
-0
main.c
dlls/sapi/main.c
+21
-0
sapi.spec
dlls/sapi/sapi.spec
+2
-2
sapi_typelib.idl
dlls/sapi/sapi_typelib.idl
+23
-0
No files found.
configure
View file @
ad2beedc
...
...
@@ -18666,7 +18666,7 @@ wine_fn_config_dll rstrtmgr enable_rstrtmgr
wine_fn_config_dll rtutils enable_rtutils implib
wine_fn_config_dll samlib enable_samlib
wine_fn_config_dll sane.ds enable_sane_ds clean
wine_fn_config_dll sapi enable_sapi
wine_fn_config_dll sapi enable_sapi
clean
wine_fn_config_dll scarddlg enable_scarddlg
wine_fn_config_dll sccbase enable_sccbase
wine_fn_config_dll schannel enable_schannel
...
...
configure.ac
View file @
ad2beedc
...
...
@@ -3447,7 +3447,7 @@ WINE_CONFIG_DLL(rstrtmgr)
WINE_CONFIG_DLL(rtutils,,[implib])
WINE_CONFIG_DLL(samlib)
WINE_CONFIG_DLL(sane.ds,,[clean])
WINE_CONFIG_DLL(sapi)
WINE_CONFIG_DLL(sapi
,,[clean]
)
WINE_CONFIG_DLL(scarddlg)
WINE_CONFIG_DLL(sccbase)
WINE_CONFIG_DLL(schannel)
...
...
dlls/sapi/Makefile.in
View file @
ad2beedc
...
...
@@ -3,3 +3,6 @@ IMPORTS = uuid ole32 user32 advapi32
C_SRCS
=
\
main.c
IDL_SRCS
=
\
sapi_typelib.idl
dlls/sapi/main.c
View file @
ad2beedc
...
...
@@ -25,16 +25,21 @@
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
sapi
);
static
HINSTANCE
hinstance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
dll
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
hinstance
=
dll
;
DisableThreadLibraryCalls
(
dll
);
break
;
}
...
...
@@ -49,3 +54,19 @@ HRESULT WINAPI DllCanUnloadNow( void )
TRACE
(
"()
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
hinstance
);
}
/***********************************************************************
* DllUnregisterServer
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
hinstance
);
}
dlls/sapi/sapi.spec
View file @
ad2beedc
@ stdcall -private DllCanUnloadNow()
#@ stdcall -private DllGetClassObject(ptr ptr ptr)
#
@ stdcall -private DllRegisterServer()
#
@ stdcall -private DllUnregisterServer()
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
dlls/sapi/sapi_typelib.idl
0 → 100644
View file @
ad2beedc
/*
*
Speech
API
(
SAPI
)
typelib
.
*
*
Copyright
(
C
)
2017
Huw
Davies
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
pragma
makedep
regtypelib
#
include
"sapi.idl"
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