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
341d9a4c
Commit
341d9a4c
authored
Feb 17, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b6e863c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
58 additions
and
59 deletions
+58
-59
Makefile.in
dlls/sapi/Makefile.in
+0
-1
automation.c
dlls/sapi/automation.c
+13
-13
resource.c
dlls/sapi/resource.c
+2
-2
stream.c
dlls/sapi/stream.c
+9
-9
token.c
dlls/sapi/token.c
+10
-10
tts.c
dlls/sapi/tts.c
+24
-24
No files found.
dlls/sapi/Makefile.in
View file @
341d9a4c
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
sapi.dll
MODULE
=
sapi.dll
IMPORTS
=
uuid ole32 user32 advapi32
IMPORTS
=
uuid ole32 user32 advapi32
...
...
dlls/sapi/automation.c
View file @
341d9a4c
...
@@ -81,7 +81,7 @@ static ULONG WINAPI file_stream_AddRef(ISpeechFileStream *iface)
...
@@ -81,7 +81,7 @@ static ULONG WINAPI file_stream_AddRef(ISpeechFileStream *iface)
struct
file_stream
*
This
=
impl_from_ISpeechFileStream
(
iface
);
struct
file_stream
*
This
=
impl_from_ISpeechFileStream
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -91,7 +91,7 @@ static ULONG WINAPI file_stream_Release(ISpeechFileStream *iface)
...
@@ -91,7 +91,7 @@ static ULONG WINAPI file_stream_Release(ISpeechFileStream *iface)
struct
file_stream
*
This
=
impl_from_ISpeechFileStream
(
iface
);
struct
file_stream
*
This
=
impl_from_ISpeechFileStream
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -111,7 +111,7 @@ static HRESULT WINAPI file_stream_GetTypeInfoCount(ISpeechFileStream *iface, UIN
...
@@ -111,7 +111,7 @@ static HRESULT WINAPI file_stream_GetTypeInfoCount(ISpeechFileStream *iface, UIN
static
HRESULT
WINAPI
file_stream_GetTypeInfo
(
ISpeechFileStream
*
iface
,
UINT
info
,
LCID
lcid
,
static
HRESULT
WINAPI
file_stream_GetTypeInfo
(
ISpeechFileStream
*
iface
,
UINT
info
,
LCID
lcid
,
ITypeInfo
**
type_info
)
ITypeInfo
**
type_info
)
{
{
FIXME
(
"(%p, %u, %u, %p): stub.
\n
"
,
iface
,
info
,
lcid
,
type_info
);
FIXME
(
"(%p, %u, %
l
u, %p): stub.
\n
"
,
iface
,
info
,
lcid
,
type_info
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -119,7 +119,7 @@ static HRESULT WINAPI file_stream_GetTypeInfo(ISpeechFileStream *iface, UINT inf
...
@@ -119,7 +119,7 @@ static HRESULT WINAPI file_stream_GetTypeInfo(ISpeechFileStream *iface, UINT inf
static
HRESULT
WINAPI
file_stream_GetIDsOfNames
(
ISpeechFileStream
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
static
HRESULT
WINAPI
file_stream_GetIDsOfNames
(
ISpeechFileStream
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
{
FIXME
(
"(%p, %s, %p, %u, %u, %p): stub.
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"(%p, %s, %p, %u, %
l
u, %p): stub.
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -128,7 +128,7 @@ static HRESULT WINAPI file_stream_Invoke(ISpeechFileStream *iface, DISPID dispid
...
@@ -128,7 +128,7 @@ static HRESULT WINAPI file_stream_Invoke(ISpeechFileStream *iface, DISPID dispid
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
{
FIXME
(
"(%p, %
d, %s, %#
x, %#x, %p, %p, %p, %p): stub.
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
FIXME
(
"(%p, %
ld, %s, %#l
x, %#x, %p, %p, %p, %p): stub.
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -150,7 +150,7 @@ static HRESULT WINAPI file_stream_putref_Format(ISpeechFileStream *iface, ISpeec
...
@@ -150,7 +150,7 @@ static HRESULT WINAPI file_stream_putref_Format(ISpeechFileStream *iface, ISpeec
static
HRESULT
WINAPI
file_stream_Read
(
ISpeechFileStream
*
iface
,
VARIANT
*
buffer
,
LONG
written
,
LONG
*
read
)
static
HRESULT
WINAPI
file_stream_Read
(
ISpeechFileStream
*
iface
,
VARIANT
*
buffer
,
LONG
written
,
LONG
*
read
)
{
{
FIXME
(
"(%p, %p, %d, %p): stub.
\n
"
,
iface
,
buffer
,
written
,
read
);
FIXME
(
"(%p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
buffer
,
written
,
read
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -232,21 +232,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
...
@@ -232,21 +232,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
static
HRESULT
WINAPI
spstream_Read
(
ISpStream
*
iface
,
void
*
pv
,
ULONG
cb
,
ULONG
*
read
)
static
HRESULT
WINAPI
spstream_Read
(
ISpStream
*
iface
,
void
*
pv
,
ULONG
cb
,
ULONG
*
read
)
{
{
FIXME
(
"(%p, %p, %d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
read
);
FIXME
(
"(%p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
read
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spstream_Write
(
ISpStream
*
iface
,
const
void
*
pv
,
ULONG
cb
,
ULONG
*
written
)
static
HRESULT
WINAPI
spstream_Write
(
ISpStream
*
iface
,
const
void
*
pv
,
ULONG
cb
,
ULONG
*
written
)
{
{
FIXME
(
"(%p, %p, %d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
written
);
FIXME
(
"(%p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
written
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spstream_Seek
(
ISpStream
*
iface
,
LARGE_INTEGER
mode
,
DWORD
origin
,
ULARGE_INTEGER
*
position
)
static
HRESULT
WINAPI
spstream_Seek
(
ISpStream
*
iface
,
LARGE_INTEGER
mode
,
DWORD
origin
,
ULARGE_INTEGER
*
position
)
{
{
FIXME
(
"(%p, %s, %d, %p): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
mode
.
QuadPart
),
origin
,
position
);
FIXME
(
"(%p, %s, %
l
d, %p): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
mode
.
QuadPart
),
origin
,
position
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -269,7 +269,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
...
@@ -269,7 +269,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
static
HRESULT
WINAPI
spstream_Commit
(
ISpStream
*
iface
,
DWORD
flag
)
static
HRESULT
WINAPI
spstream_Commit
(
ISpStream
*
iface
,
DWORD
flag
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
flag
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
flag
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -283,7 +283,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
...
@@ -283,7 +283,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
static
HRESULT
WINAPI
spstream_LockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
static
HRESULT
WINAPI
spstream_LockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
{
{
FIXME
(
"(%p, %s, %s, %d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
FIXME
(
"(%p, %s, %s, %
l
d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -291,7 +291,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
...
@@ -291,7 +291,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
static
HRESULT
WINAPI
spstream_UnlockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
static
HRESULT
WINAPI
spstream_UnlockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
{
{
FIXME
(
"(%p, %s, %s, %d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
FIXME
(
"(%p, %s, %s, %
l
d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -299,7 +299,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
...
@@ -299,7 +299,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
static
HRESULT
WINAPI
spstream_Stat
(
ISpStream
*
iface
,
STATSTG
*
statstg
,
DWORD
flag
)
static
HRESULT
WINAPI
spstream_Stat
(
ISpStream
*
iface
,
STATSTG
*
statstg
,
DWORD
flag
)
{
{
FIXME
(
"(%p, %p, %d): stub.
\n
"
,
iface
,
statstg
,
flag
);
FIXME
(
"(%p, %p, %
l
d): stub.
\n
"
,
iface
,
statstg
,
flag
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/sapi/resource.c
View file @
341d9a4c
...
@@ -70,7 +70,7 @@ static ULONG WINAPI resource_manager_AddRef(ISpResourceManager *iface)
...
@@ -70,7 +70,7 @@ static ULONG WINAPI resource_manager_AddRef(ISpResourceManager *iface)
struct
resource_manager
*
This
=
impl_from_ISpResourceManager
(
iface
);
struct
resource_manager
*
This
=
impl_from_ISpResourceManager
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -80,7 +80,7 @@ static ULONG WINAPI resource_manager_Release(ISpResourceManager *iface)
...
@@ -80,7 +80,7 @@ static ULONG WINAPI resource_manager_Release(ISpResourceManager *iface)
struct
resource_manager
*
This
=
impl_from_ISpResourceManager
(
iface
);
struct
resource_manager
*
This
=
impl_from_ISpResourceManager
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
...
dlls/sapi/stream.c
View file @
341d9a4c
...
@@ -70,7 +70,7 @@ static ULONG WINAPI spstream_AddRef(ISpStream *iface)
...
@@ -70,7 +70,7 @@ static ULONG WINAPI spstream_AddRef(ISpStream *iface)
struct
spstream
*
This
=
impl_from_ISpStream
(
iface
);
struct
spstream
*
This
=
impl_from_ISpStream
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -80,7 +80,7 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
...
@@ -80,7 +80,7 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
struct
spstream
*
This
=
impl_from_ISpStream
(
iface
);
struct
spstream
*
This
=
impl_from_ISpStream
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -92,21 +92,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
...
@@ -92,21 +92,21 @@ static ULONG WINAPI spstream_Release(ISpStream *iface)
static
HRESULT
WINAPI
spstream_Read
(
ISpStream
*
iface
,
void
*
pv
,
ULONG
cb
,
ULONG
*
read
)
static
HRESULT
WINAPI
spstream_Read
(
ISpStream
*
iface
,
void
*
pv
,
ULONG
cb
,
ULONG
*
read
)
{
{
FIXME
(
"(%p, %p, %d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
read
);
FIXME
(
"(%p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
read
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spstream_Write
(
ISpStream
*
iface
,
const
void
*
pv
,
ULONG
cb
,
ULONG
*
written
)
static
HRESULT
WINAPI
spstream_Write
(
ISpStream
*
iface
,
const
void
*
pv
,
ULONG
cb
,
ULONG
*
written
)
{
{
FIXME
(
"(%p, %p, %d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
written
);
FIXME
(
"(%p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
pv
,
cb
,
written
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spstream_Seek
(
ISpStream
*
iface
,
LARGE_INTEGER
mode
,
DWORD
origin
,
ULARGE_INTEGER
*
position
)
static
HRESULT
WINAPI
spstream_Seek
(
ISpStream
*
iface
,
LARGE_INTEGER
mode
,
DWORD
origin
,
ULARGE_INTEGER
*
position
)
{
{
FIXME
(
"(%p, %s, %d, %p): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
mode
.
QuadPart
),
origin
,
position
);
FIXME
(
"(%p, %s, %
l
d, %p): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
mode
.
QuadPart
),
origin
,
position
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -129,7 +129,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
...
@@ -129,7 +129,7 @@ static HRESULT WINAPI spstream_CopyTo(ISpStream *iface, IStream *stream, ULARGE_
static
HRESULT
WINAPI
spstream_Commit
(
ISpStream
*
iface
,
DWORD
flag
)
static
HRESULT
WINAPI
spstream_Commit
(
ISpStream
*
iface
,
DWORD
flag
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
flag
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
flag
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI spstream_Revert(ISpStream *iface)
static
HRESULT
WINAPI
spstream_LockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
static
HRESULT
WINAPI
spstream_LockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
{
{
FIXME
(
"(%p, %s, %s, %d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
FIXME
(
"(%p, %s, %s, %
l
d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -151,7 +151,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
...
@@ -151,7 +151,7 @@ static HRESULT WINAPI spstream_LockRegion(ISpStream *iface, ULARGE_INTEGER offse
static
HRESULT
WINAPI
spstream_UnlockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
static
HRESULT
WINAPI
spstream_UnlockRegion
(
ISpStream
*
iface
,
ULARGE_INTEGER
offset
,
ULARGE_INTEGER
cb
,
DWORD
type
)
{
{
FIXME
(
"(%p, %s, %s, %d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
FIXME
(
"(%p, %s, %s, %
l
d): stub.
\n
"
,
iface
,
wine_dbgstr_longlong
(
offset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
wine_dbgstr_longlong
(
cb
.
QuadPart
),
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -159,7 +159,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
...
@@ -159,7 +159,7 @@ static HRESULT WINAPI spstream_UnlockRegion(ISpStream *iface, ULARGE_INTEGER off
static
HRESULT
WINAPI
spstream_Stat
(
ISpStream
*
iface
,
STATSTG
*
statstg
,
DWORD
flag
)
static
HRESULT
WINAPI
spstream_Stat
(
ISpStream
*
iface
,
STATSTG
*
statstg
,
DWORD
flag
)
{
{
FIXME
(
"(%p, %p, %d): stub.
\n
"
,
iface
,
statstg
,
flag
);
FIXME
(
"(%p, %p, %
l
d): stub.
\n
"
,
iface
,
statstg
,
flag
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/sapi/token.c
View file @
341d9a4c
...
@@ -73,7 +73,7 @@ static ULONG WINAPI data_key_AddRef( ISpRegDataKey *iface )
...
@@ -73,7 +73,7 @@ static ULONG WINAPI data_key_AddRef( ISpRegDataKey *iface )
struct
data_key
*
This
=
impl_from_ISpRegDataKey
(
iface
);
struct
data_key
*
This
=
impl_from_ISpRegDataKey
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -82,7 +82,7 @@ static ULONG WINAPI data_key_Release( ISpRegDataKey *iface )
...
@@ -82,7 +82,7 @@ static ULONG WINAPI data_key_Release( ISpRegDataKey *iface )
struct
data_key
*
This
=
impl_from_ISpRegDataKey
(
iface
);
struct
data_key
*
This
=
impl_from_ISpRegDataKey
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -265,7 +265,7 @@ static ULONG WINAPI token_category_AddRef( ISpObjectTokenCategory *iface )
...
@@ -265,7 +265,7 @@ static ULONG WINAPI token_category_AddRef( ISpObjectTokenCategory *iface )
struct
token_category
*
This
=
impl_from_ISpObjectTokenCategory
(
iface
);
struct
token_category
*
This
=
impl_from_ISpObjectTokenCategory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -274,7 +274,7 @@ static ULONG WINAPI token_category_Release( ISpObjectTokenCategory *iface )
...
@@ -274,7 +274,7 @@ static ULONG WINAPI token_category_Release( ISpObjectTokenCategory *iface )
struct
token_category
*
This
=
impl_from_ISpObjectTokenCategory
(
iface
);
struct
token_category
*
This
=
impl_from_ISpObjectTokenCategory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -514,7 +514,7 @@ static HRESULT WINAPI token_category_GetDefaultTokenId( ISpObjectTokenCategory *
...
@@ -514,7 +514,7 @@ static HRESULT WINAPI token_category_GetDefaultTokenId( ISpObjectTokenCategory *
return
SPERR_NOT_FOUND
;
return
SPERR_NOT_FOUND
;
}
else
if
(
res
!=
ERROR_SUCCESS
)
{
}
else
if
(
res
!=
ERROR_SUCCESS
)
{
/* probably not the correct return value */
/* probably not the correct return value */
FIXME
(
"returning %08x
\n
"
,
res
);
FIXME
(
"returning %08
l
x
\n
"
,
res
);
return
res
;
return
res
;
}
}
...
@@ -606,7 +606,7 @@ static ULONG WINAPI token_enum_AddRef( ISpObjectTokenEnumBuilder *iface )
...
@@ -606,7 +606,7 @@ static ULONG WINAPI token_enum_AddRef( ISpObjectTokenEnumBuilder *iface )
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -615,7 +615,7 @@ static ULONG WINAPI token_enum_Release( ISpObjectTokenEnumBuilder *iface )
...
@@ -615,7 +615,7 @@ static ULONG WINAPI token_enum_Release( ISpObjectTokenEnumBuilder *iface )
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -633,7 +633,7 @@ static HRESULT WINAPI token_enum_Next( ISpObjectTokenEnumBuilder *iface,
...
@@ -633,7 +633,7 @@ static HRESULT WINAPI token_enum_Next( ISpObjectTokenEnumBuilder *iface,
{
{
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
TRACE
(
"(%p)->(%u %p %p)
\n
"
,
This
,
num
,
tokens
,
fetched
);
TRACE
(
"(%p)->(%
l
u %p %p)
\n
"
,
This
,
num
,
tokens
,
fetched
);
if
(
!
This
->
init
)
return
SPERR_UNINITIALIZED
;
if
(
!
This
->
init
)
return
SPERR_UNINITIALIZED
;
...
@@ -817,7 +817,7 @@ static ULONG WINAPI token_AddRef( ISpObjectToken *iface )
...
@@ -817,7 +817,7 @@ static ULONG WINAPI token_AddRef( ISpObjectToken *iface )
struct
object_token
*
This
=
impl_from_ISpObjectToken
(
iface
);
struct
object_token
*
This
=
impl_from_ISpObjectToken
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -826,7 +826,7 @@ static ULONG WINAPI token_Release( ISpObjectToken *iface )
...
@@ -826,7 +826,7 @@ static ULONG WINAPI token_Release( ISpObjectToken *iface )
struct
object_token
*
This
=
impl_from_ISpObjectToken
(
iface
);
struct
object_token
*
This
=
impl_from_ISpObjectToken
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref = %u
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref = %
l
u
\n
"
,
This
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
...
dlls/sapi/tts.c
View file @
341d9a4c
...
@@ -88,7 +88,7 @@ static ULONG WINAPI speech_voice_AddRef(ISpeechVoice *iface)
...
@@ -88,7 +88,7 @@ static ULONG WINAPI speech_voice_AddRef(ISpeechVoice *iface)
struct
speech_voice
*
This
=
impl_from_ISpeechVoice
(
iface
);
struct
speech_voice
*
This
=
impl_from_ISpeechVoice
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -98,7 +98,7 @@ static ULONG WINAPI speech_voice_Release(ISpeechVoice *iface)
...
@@ -98,7 +98,7 @@ static ULONG WINAPI speech_voice_Release(ISpeechVoice *iface)
struct
speech_voice
*
This
=
impl_from_ISpeechVoice
(
iface
);
struct
speech_voice
*
This
=
impl_from_ISpeechVoice
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ref=%u.
\n
"
,
iface
,
ref
);
TRACE
(
"(%p): ref=%
l
u.
\n
"
,
iface
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
{
{
...
@@ -118,7 +118,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfoCount(ISpeechVoice *iface, UINT *i
...
@@ -118,7 +118,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfoCount(ISpeechVoice *iface, UINT *i
static
HRESULT
WINAPI
speech_voice_GetTypeInfo
(
ISpeechVoice
*
iface
,
UINT
info
,
LCID
lcid
,
static
HRESULT
WINAPI
speech_voice_GetTypeInfo
(
ISpeechVoice
*
iface
,
UINT
info
,
LCID
lcid
,
ITypeInfo
**
type_info
)
ITypeInfo
**
type_info
)
{
{
FIXME
(
"(%p, %u, %u, %p): stub.
\n
"
,
iface
,
info
,
lcid
,
type_info
);
FIXME
(
"(%p, %u, %
l
u, %p): stub.
\n
"
,
iface
,
info
,
lcid
,
type_info
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -126,7 +126,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfo(ISpeechVoice *iface, UINT info, L
...
@@ -126,7 +126,7 @@ static HRESULT WINAPI speech_voice_GetTypeInfo(ISpeechVoice *iface, UINT info, L
static
HRESULT
WINAPI
speech_voice_GetIDsOfNames
(
ISpeechVoice
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
static
HRESULT
WINAPI
speech_voice_GetIDsOfNames
(
ISpeechVoice
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
{
FIXME
(
"(%p, %s, %p, %u, %u, %p): stub.
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"(%p, %s, %p, %u, %
l
u, %p): stub.
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -135,7 +135,7 @@ static HRESULT WINAPI speech_voice_Invoke(ISpeechVoice *iface, DISPID dispid, RE
...
@@ -135,7 +135,7 @@ static HRESULT WINAPI speech_voice_Invoke(ISpeechVoice *iface, DISPID dispid, RE
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
{
FIXME
(
"(%p, %
d, %s, %#
x, %#x, %p, %p, %p, %p): stub.
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
FIXME
(
"(%p, %
ld, %s, %#l
x, %#x, %p, %p, %p, %p): stub.
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -199,7 +199,7 @@ static HRESULT WINAPI speech_voice_get_Rate(ISpeechVoice *iface, LONG *rate)
...
@@ -199,7 +199,7 @@ static HRESULT WINAPI speech_voice_get_Rate(ISpeechVoice *iface, LONG *rate)
static
HRESULT
WINAPI
speech_voice_put_Rate
(
ISpeechVoice
*
iface
,
LONG
rate
)
static
HRESULT
WINAPI
speech_voice_put_Rate
(
ISpeechVoice
*
iface
,
LONG
rate
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
rate
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
rate
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -213,7 +213,7 @@ static HRESULT WINAPI speech_voice_get_Volume(ISpeechVoice *iface, LONG *volume)
...
@@ -213,7 +213,7 @@ static HRESULT WINAPI speech_voice_get_Volume(ISpeechVoice *iface, LONG *volume)
static
HRESULT
WINAPI
speech_voice_put_Volume
(
ISpeechVoice
*
iface
,
LONG
volume
)
static
HRESULT
WINAPI
speech_voice_put_Volume
(
ISpeechVoice
*
iface
,
LONG
volume
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
volume
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
volume
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -277,7 +277,7 @@ static HRESULT WINAPI speech_voice_get_AlertBoundary(ISpeechVoice *iface, Speech
...
@@ -277,7 +277,7 @@ static HRESULT WINAPI speech_voice_get_AlertBoundary(ISpeechVoice *iface, Speech
static
HRESULT
WINAPI
speech_voice_put_SynchronousSpeakTimeout
(
ISpeechVoice
*
iface
,
LONG
timeout
)
static
HRESULT
WINAPI
speech_voice_put_SynchronousSpeakTimeout
(
ISpeechVoice
*
iface
,
LONG
timeout
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
timeout
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
timeout
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -320,7 +320,7 @@ static HRESULT WINAPI speech_voice_Resume(ISpeechVoice *iface)
...
@@ -320,7 +320,7 @@ static HRESULT WINAPI speech_voice_Resume(ISpeechVoice *iface)
static
HRESULT
WINAPI
speech_voice_Skip
(
ISpeechVoice
*
iface
,
const
BSTR
type
,
LONG
items
,
LONG
*
skipped
)
static
HRESULT
WINAPI
speech_voice_Skip
(
ISpeechVoice
*
iface
,
const
BSTR
type
,
LONG
items
,
LONG
*
skipped
)
{
{
FIXME
(
"(%p, %s, %d, %p): stub.
\n
"
,
iface
,
debugstr_w
(
type
),
items
,
skipped
);
FIXME
(
"(%p, %s, %
l
d, %p): stub.
\n
"
,
iface
,
debugstr_w
(
type
),
items
,
skipped
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -343,7 +343,7 @@ static HRESULT WINAPI speech_voice_GetAudioOutputs(ISpeechVoice *iface, BSTR req
...
@@ -343,7 +343,7 @@ static HRESULT WINAPI speech_voice_GetAudioOutputs(ISpeechVoice *iface, BSTR req
static
HRESULT
WINAPI
speech_voice_WaitUntilDone
(
ISpeechVoice
*
iface
,
LONG
timeout
,
VARIANT_BOOL
*
done
)
static
HRESULT
WINAPI
speech_voice_WaitUntilDone
(
ISpeechVoice
*
iface
,
LONG
timeout
,
VARIANT_BOOL
*
done
)
{
{
FIXME
(
"(%p, %d, %p): stub.
\n
"
,
iface
,
timeout
,
done
);
FIXME
(
"(%p, %
l
d, %p): stub.
\n
"
,
iface
,
timeout
,
done
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI speech_voice_IsUISupported(ISpeechVoice *iface, const BSTR
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI speech_voice_IsUISupported(ISpeechVoice *iface, const BSTR
static
HRESULT
WINAPI
speech_voice_DisplayUI
(
ISpeechVoice
*
iface
,
LONG
hwnd
,
BSTR
title
,
static
HRESULT
WINAPI
speech_voice_DisplayUI
(
ISpeechVoice
*
iface
,
LONG
hwnd
,
BSTR
title
,
const
BSTR
typeui
,
const
VARIANT
*
data
)
const
BSTR
typeui
,
const
VARIANT
*
data
)
{
{
FIXME
(
"(%p, %d, %s, %s, %p): stub.
\n
"
,
iface
,
hwnd
,
debugstr_w
(
title
),
debugstr_w
(
typeui
),
data
);
FIXME
(
"(%p, %
l
d, %s, %s, %p): stub.
\n
"
,
iface
,
hwnd
,
debugstr_w
(
title
),
debugstr_w
(
typeui
),
data
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -452,7 +452,7 @@ static HRESULT WINAPI spvoice_SetNotifySink(ISpVoice *iface, ISpNotifySink *sink
...
@@ -452,7 +452,7 @@ static HRESULT WINAPI spvoice_SetNotifySink(ISpVoice *iface, ISpNotifySink *sink
static
HRESULT
WINAPI
spvoice_SetNotifyWindowMessage
(
ISpVoice
*
iface
,
HWND
hwnd
,
UINT
msg
,
static
HRESULT
WINAPI
spvoice_SetNotifyWindowMessage
(
ISpVoice
*
iface
,
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
WPARAM
wparam
,
LPARAM
lparam
)
{
{
FIXME
(
"(%p, %p, %u, %
lx, %l
x): stub.
\n
"
,
iface
,
hwnd
,
msg
,
wparam
,
lparam
);
FIXME
(
"(%p, %p, %u, %
Ix, %I
x): stub.
\n
"
,
iface
,
hwnd
,
msg
,
wparam
,
lparam
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -460,7 +460,7 @@ static HRESULT WINAPI spvoice_SetNotifyWindowMessage(ISpVoice *iface, HWND hwnd,
...
@@ -460,7 +460,7 @@ static HRESULT WINAPI spvoice_SetNotifyWindowMessage(ISpVoice *iface, HWND hwnd,
static
HRESULT
WINAPI
spvoice_SetNotifyCallbackFunction
(
ISpVoice
*
iface
,
SPNOTIFYCALLBACK
*
callback
,
static
HRESULT
WINAPI
spvoice_SetNotifyCallbackFunction
(
ISpVoice
*
iface
,
SPNOTIFYCALLBACK
*
callback
,
WPARAM
wparam
,
LPARAM
lparam
)
WPARAM
wparam
,
LPARAM
lparam
)
{
{
FIXME
(
"(%p, %p, %
lx, %l
x): stub.
\n
"
,
iface
,
callback
,
wparam
,
lparam
);
FIXME
(
"(%p, %p, %
Ix, %I
x): stub.
\n
"
,
iface
,
callback
,
wparam
,
lparam
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -468,7 +468,7 @@ static HRESULT WINAPI spvoice_SetNotifyCallbackFunction(ISpVoice *iface, SPNOTIF
...
@@ -468,7 +468,7 @@ static HRESULT WINAPI spvoice_SetNotifyCallbackFunction(ISpVoice *iface, SPNOTIF
static
HRESULT
WINAPI
spvoice_SetNotifyCallbackInterface
(
ISpVoice
*
iface
,
ISpNotifyCallback
*
callback
,
static
HRESULT
WINAPI
spvoice_SetNotifyCallbackInterface
(
ISpVoice
*
iface
,
ISpNotifyCallback
*
callback
,
WPARAM
wparam
,
LPARAM
lparam
)
WPARAM
wparam
,
LPARAM
lparam
)
{
{
FIXME
(
"(%p, %p, %
lx, %l
x): stub.
\n
"
,
iface
,
callback
,
wparam
,
lparam
);
FIXME
(
"(%p, %p, %
Ix, %I
x): stub.
\n
"
,
iface
,
callback
,
wparam
,
lparam
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI spvoice_SetNotifyWin32Event(ISpVoice *iface)
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI spvoice_SetNotifyWin32Event(ISpVoice *iface)
static
HRESULT
WINAPI
spvoice_WaitForNotifyEvent
(
ISpVoice
*
iface
,
DWORD
milliseconds
)
static
HRESULT
WINAPI
spvoice_WaitForNotifyEvent
(
ISpVoice
*
iface
,
DWORD
milliseconds
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
milliseconds
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
milliseconds
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -503,7 +503,7 @@ static HRESULT WINAPI spvoice_SetInterest(ISpVoice *iface, ULONGLONG event, ULON
...
@@ -503,7 +503,7 @@ static HRESULT WINAPI spvoice_SetInterest(ISpVoice *iface, ULONGLONG event, ULON
static
HRESULT
WINAPI
spvoice_GetEvents
(
ISpVoice
*
iface
,
ULONG
count
,
SPEVENT
*
array
,
ULONG
*
fetched
)
static
HRESULT
WINAPI
spvoice_GetEvents
(
ISpVoice
*
iface
,
ULONG
count
,
SPEVENT
*
array
,
ULONG
*
fetched
)
{
{
FIXME
(
"(%p, %u, %p, %p): stub.
\n
"
,
iface
,
count
,
array
,
fetched
);
FIXME
(
"(%p, %
l
u, %p, %p): stub.
\n
"
,
iface
,
count
,
array
,
fetched
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -566,14 +566,14 @@ static HRESULT WINAPI spvoice_GetVoice(ISpVoice *iface, ISpObjectToken **token)
...
@@ -566,14 +566,14 @@ static HRESULT WINAPI spvoice_GetVoice(ISpVoice *iface, ISpObjectToken **token)
static
HRESULT
WINAPI
spvoice_Speak
(
ISpVoice
*
iface
,
const
WCHAR
*
contents
,
DWORD
flags
,
ULONG
*
number
)
static
HRESULT
WINAPI
spvoice_Speak
(
ISpVoice
*
iface
,
const
WCHAR
*
contents
,
DWORD
flags
,
ULONG
*
number
)
{
{
FIXME
(
"(%p, %p, %#x, %p): stub.
\n
"
,
iface
,
contents
,
flags
,
number
);
FIXME
(
"(%p, %p, %#
l
x, %p): stub.
\n
"
,
iface
,
contents
,
flags
,
number
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spvoice_SpeakStream
(
ISpVoice
*
iface
,
IStream
*
stream
,
DWORD
flags
,
ULONG
*
number
)
static
HRESULT
WINAPI
spvoice_SpeakStream
(
ISpVoice
*
iface
,
IStream
*
stream
,
DWORD
flags
,
ULONG
*
number
)
{
{
FIXME
(
"(%p, %p, %#x, %p): stub.
\n
"
,
iface
,
stream
,
flags
,
number
);
FIXME
(
"(%p, %p, %#
l
x, %p): stub.
\n
"
,
iface
,
stream
,
flags
,
number
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -587,7 +587,7 @@ static HRESULT WINAPI spvoice_GetStatus(ISpVoice *iface, SPVOICESTATUS *status,
...
@@ -587,7 +587,7 @@ static HRESULT WINAPI spvoice_GetStatus(ISpVoice *iface, SPVOICESTATUS *status,
static
HRESULT
WINAPI
spvoice_Skip
(
ISpVoice
*
iface
,
const
WCHAR
*
type
,
LONG
items
,
ULONG
*
skipped
)
static
HRESULT
WINAPI
spvoice_Skip
(
ISpVoice
*
iface
,
const
WCHAR
*
type
,
LONG
items
,
ULONG
*
skipped
)
{
{
FIXME
(
"(%p, %s, %d, %p): stub.
\n
"
,
iface
,
debugstr_w
(
type
),
items
,
skipped
);
FIXME
(
"(%p, %s, %
l
d, %p): stub.
\n
"
,
iface
,
debugstr_w
(
type
),
items
,
skipped
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -622,7 +622,7 @@ static HRESULT WINAPI spvoice_GetAlertBoundary(ISpVoice *iface, SPEVENTENUM *bou
...
@@ -622,7 +622,7 @@ static HRESULT WINAPI spvoice_GetAlertBoundary(ISpVoice *iface, SPEVENTENUM *bou
static
HRESULT
WINAPI
spvoice_SetRate
(
ISpVoice
*
iface
,
LONG
adjust
)
static
HRESULT
WINAPI
spvoice_SetRate
(
ISpVoice
*
iface
,
LONG
adjust
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
adjust
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
adjust
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -650,14 +650,14 @@ static HRESULT WINAPI spvoice_GetVolume(ISpVoice *iface, USHORT *volume)
...
@@ -650,14 +650,14 @@ static HRESULT WINAPI spvoice_GetVolume(ISpVoice *iface, USHORT *volume)
static
HRESULT
WINAPI
spvoice_WaitUntilDone
(
ISpVoice
*
iface
,
ULONG
timeout
)
static
HRESULT
WINAPI
spvoice_WaitUntilDone
(
ISpVoice
*
iface
,
ULONG
timeout
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
timeout
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
timeout
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
spvoice_SetSyncSpeakTimeout
(
ISpVoice
*
iface
,
ULONG
timeout
)
static
HRESULT
WINAPI
spvoice_SetSyncSpeakTimeout
(
ISpVoice
*
iface
,
ULONG
timeout
)
{
{
FIXME
(
"(%p, %d): stub.
\n
"
,
iface
,
timeout
);
FIXME
(
"(%p, %
l
d): stub.
\n
"
,
iface
,
timeout
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -679,7 +679,7 @@ static HANDLE WINAPI spvoice_SpeakCompleteEvent(ISpVoice *iface)
...
@@ -679,7 +679,7 @@ static HANDLE WINAPI spvoice_SpeakCompleteEvent(ISpVoice *iface)
static
HRESULT
WINAPI
spvoice_IsUISupported
(
ISpVoice
*
iface
,
const
WCHAR
*
type
,
void
*
extra
,
static
HRESULT
WINAPI
spvoice_IsUISupported
(
ISpVoice
*
iface
,
const
WCHAR
*
type
,
void
*
extra
,
ULONG
count
,
BOOL
*
supported
)
ULONG
count
,
BOOL
*
supported
)
{
{
FIXME
(
"(%p, %p, %p, %d, %p): stub.
\n
"
,
iface
,
type
,
extra
,
count
,
supported
);
FIXME
(
"(%p, %p, %p, %
l
d, %p): stub.
\n
"
,
iface
,
type
,
extra
,
count
,
supported
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -687,7 +687,7 @@ static HRESULT WINAPI spvoice_IsUISupported(ISpVoice *iface, const WCHAR *type,
...
@@ -687,7 +687,7 @@ static HRESULT WINAPI spvoice_IsUISupported(ISpVoice *iface, const WCHAR *type,
static
HRESULT
WINAPI
spvoice_DisplayUI
(
ISpVoice
*
iface
,
HWND
parent
,
const
WCHAR
*
title
,
static
HRESULT
WINAPI
spvoice_DisplayUI
(
ISpVoice
*
iface
,
HWND
parent
,
const
WCHAR
*
title
,
const
WCHAR
*
type
,
void
*
extra
,
ULONG
count
)
const
WCHAR
*
type
,
void
*
extra
,
ULONG
count
)
{
{
FIXME
(
"(%p, %p, %p, %p, %p, %d): stub.
\n
"
,
iface
,
parent
,
title
,
type
,
extra
,
count
);
FIXME
(
"(%p, %p, %p, %p, %p, %
l
d): stub.
\n
"
,
iface
,
parent
,
title
,
type
,
extra
,
count
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
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