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
cf41a417
Commit
cf41a417
authored
May 28, 2012
by
Michael Geddes
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tapi32: Stub some missing functions.
parent
4c6c8ed0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
0 deletions
+72
-0
line.c
dlls/tapi32/line.c
+9
-0
phone.c
dlls/tapi32/phone.c
+29
-0
tapi32.spec
dlls/tapi32/tapi32.spec
+4
-0
tapi.h
include/tapi.h
+30
-0
No files found.
dlls/tapi32/line.c
View file @
cf41a417
...
...
@@ -544,6 +544,15 @@ DWORD WINAPI lineGetLineDevStatusA(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
}
/***********************************************************************
* lineGetMessage (TAPI32.@)
*/
DWORD
WINAPI
lineGetMessage
(
HLINEAPP
hLineApp
,
LPLINEMESSAGE
lpMessage
,
DWORD
dwTimeout
)
{
FIXME
(
"(%p, %p, %08x): stub.
\n
"
,
hLineApp
,
lpMessage
,
dwTimeout
);
return
0
;
}
/***********************************************************************
* lineGetNewCalls (TAPI32.@)
*/
DWORD
WINAPI
lineGetNewCalls
(
HLINE
hLine
,
DWORD
dwAddressID
,
DWORD
dwSelect
,
LPLINECALLLIST
lpCallList
)
...
...
dlls/tapi32/phone.c
View file @
cf41a417
...
...
@@ -156,6 +156,15 @@ DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
}
/***********************************************************************
* phoneGetMessage (TAPI32.@)
*/
DWORD
WINAPI
phoneGetMessage
(
HPHONEAPP
hPhoneApp
,
LPPHONEMESSAGE
lpMessage
,
DWORD
dwTimeout
)
{
FIXME
(
"(%p, %p, %08x): stub.
\n
"
,
hPhoneApp
,
lpMessage
,
dwTimeout
);
return
0
;
}
/***********************************************************************
* phoneGetRing (TAPI32.@)
*/
DWORD
WINAPI
phoneGetRing
(
HPHONE
hPhone
,
LPDWORD
lpdwRingMode
,
LPDWORD
lpdwVolume
)
...
...
@@ -205,6 +214,26 @@ DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONE
}
/***********************************************************************
* phoneInitializeiExA (TAPI32.@)
*/
DWORD
WINAPI
phoneInitializeExA
(
LPHPHONEAPP
lphPhoneApp
,
HINSTANCE
hInstance
,
PHONECALLBACK
lpfnCallback
,
LPCSTR
lpszAppName
,
LPDWORD
lpdwNumDevs
,
LPDWORD
lpdwAPIVersion
,
LPPHONEINITIALIZEEXPARAMS
lpPhoneInitializeExParams
)
{
FIXME
(
"(%p, %p, %p, %s, %p, %p, %p): stub.
\n
"
,
lphPhoneApp
,
hInstance
,
lpfnCallback
,
lpszAppName
,
lpdwNumDevs
,
lpdwAPIVersion
,
lpPhoneInitializeExParams
);
*
lpdwNumDevs
=
0
;
return
0
;
}
/***********************************************************************
* phoneInitializeiExW (TAPI32.@)
*/
DWORD
WINAPI
phoneInitializeExW
(
LPHPHONEAPP
lphPhoneApp
,
HINSTANCE
hInstance
,
PHONECALLBACK
lpfnCallback
,
LPCWSTR
lpszAppName
,
LPDWORD
lpdwNumDevs
,
LPDWORD
lpdwAPIVersion
,
LPPHONEINITIALIZEEXPARAMS
lpPhoneInitializeExParams
)
{
FIXME
(
"(%p, %p, %p, %s, %p, %p, %p): stub.
\n
"
,
lphPhoneApp
,
hInstance
,
lpfnCallback
,
debugstr_w
(
lpszAppName
),
lpdwNumDevs
,
lpdwAPIVersion
,
lpPhoneInitializeExParams
);
*
lpdwNumDevs
=
0
;
return
0
;
}
/***********************************************************************
* phoneNegotiateAPIVersion (TAPI32.@)
*/
DWORD
WINAPI
phoneNegotiateAPIVersion
(
HPHONEAPP
hPhoneApp
,
DWORD
dwDeviceID
,
DWORD
dwAPILowVersion
,
DWORD
dwAPIHighVersion
,
LPDWORD
lpdwAPIVersion
,
LPPHONEEXTENSIONID
lpExtensionID
)
...
...
dlls/tapi32/tapi32.spec
View file @
cf41a417
...
...
@@ -53,6 +53,7 @@
@ stdcall lineGetIconA(long str ptr)
@ stdcall lineGetLineDevStatus(long ptr) lineGetLineDevStatusA
@ stdcall lineGetLineDevStatusA(long ptr)
@ stdcall lineGetMessage(long ptr long)
@ stdcall lineGetNewCalls(long long long ptr)
@ stdcall lineGetNumRings(long long ptr)
@ stdcall lineGetProviderList(long ptr) lineGetProviderListA
...
...
@@ -138,12 +139,15 @@
@ stdcall phoneGetIcon(long str ptr) phoneGetIconA
@ stdcall phoneGetIconA(long str ptr)
@ stdcall phoneGetLamp(long long ptr)
@ stdcall phoneGetMessage(long ptr long)
@ stdcall phoneGetRing(long ptr ptr)
@ stdcall phoneGetStatus(long ptr) phoneGetStatusA
@ stdcall phoneGetStatusA(long ptr)
@ stdcall phoneGetStatusMessages(long ptr ptr ptr)
@ stdcall phoneGetVolume(long long ptr)
@ stdcall phoneInitialize(ptr long ptr str ptr)
@ stdcall phoneInitializeExA(ptr long ptr str ptr ptr ptr)
@ stdcall phoneInitializeExW(ptr long ptr str ptr ptr ptr)
@ stdcall phoneNegotiateAPIVersion(long long long long ptr ptr)
@ stdcall phoneNegotiateExtVersion(long long long long long ptr)
@ stdcall phoneOpen(long long ptr long long long long)
...
...
include/tapi.h
View file @
cf41a417
...
...
@@ -747,6 +747,15 @@ typedef struct linetranslateoutput_tag {
DWORD
dwTranslateResults
;
}
LINETRANSLATEOUTPUT
,
*
LPLINETRANSLATEOUTPUT
;
typedef
struct
linemessage_tag
{
DWORD
hDevice
;
DWORD
dwMessageID
;
DWORD_PTR
dwCallbackInstance
;
DWORD_PTR
dwParam1
;
DWORD_PTR
dwParam2
;
DWORD_PTR
dwParam3
;
}
LINEMESSAGE
,
*
LPLINEMESSAGE
;
typedef
void
(
CALLBACK
*
LINECALLBACK
)(
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
);
typedef
struct
_PHONEAPP
{
...
...
@@ -817,6 +826,27 @@ typedef struct phoneextensionid_tag {
DWORD
dwExtensionID3
;
}
PHONEEXTENSIONID
,
*
LPPHONEEXTENSIONID
;
typedef
struct
phoneinitializeexparams_tag
{
DWORD
dwTotalSize
;
DWORD
dwNeededSize
;
DWORD
dwUsedSize
;
DWORD
dwOptions
;
union
{
HANDLE
hEvent
;
HANDLE
hCompletionPort
;
}
Handles
;
DWORD
dwCompletionKey
;
}
PHONEINITIALIZEEXPARAMS
,
*
LPPHONEINITIALIZEEXPARAMS
;
typedef
struct
phonemessage_tag
{
DWORD
hDevice
;
DWORD
dwMessageID
;
DWORD_PTR
dwCallbackInstance
;
DWORD_PTR
dwParam1
;
DWORD_PTR
dwParam2
;
DWORD_PTR
dwParam3
;
}
PHONEMESSAGE
,
*
LPPHONEMESSAGE
;
typedef
struct
phonestatus_tag
{
DWORD
dwTotalSize
;
DWORD
dwNeededSize
;
...
...
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