mirror of
https://github.com/reactos/reactos.git
synced 2025-08-11 13:25:36 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
22
dll/win32/tapi32/CMakeLists.txt
Normal file
22
dll/win32/tapi32/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
add_definitions(-D__WINESRC__)
|
||||
spec2def(tapi32.dll tapi32.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
assisted.c
|
||||
internal.c
|
||||
line.c
|
||||
phone.c
|
||||
precomp.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/tapi32_stubs.c)
|
||||
|
||||
add_library(tapi32 SHARED
|
||||
${SOURCE}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/tapi32.def)
|
||||
|
||||
set_module_type(tapi32 win32dll)
|
||||
target_link_libraries(tapi32 wine)
|
||||
add_importlibs(tapi32 advapi32 msvcrt kernel32 ntdll)
|
||||
add_pch(tapi32 precomp.h SOURCE)
|
||||
add_cd_file(TARGET tapi32 DESTINATION reactos/system32 FOR all)
|
117
dll/win32/tapi32/assisted.c
Normal file
117
dll/win32/tapi32/assisted.c
Normal file
|
@ -0,0 +1,117 @@
|
|||
/*
|
||||
* TAPI32 Assisted Telephony
|
||||
*
|
||||
* Copyright 1999 Andreas Mohr
|
||||
* Copyright 2011 André Hentschel
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/***********************************************************************
|
||||
* tapiGetLocationInfoW (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI tapiGetLocationInfoW(LPWSTR countrycode, LPWSTR citycode)
|
||||
{
|
||||
HKEY hkey, hsubkey;
|
||||
DWORD currid;
|
||||
DWORD valsize;
|
||||
DWORD type;
|
||||
DWORD bufsize;
|
||||
BYTE buf[200];
|
||||
WCHAR szlockey[20];
|
||||
|
||||
static const WCHAR currentidW[] = {'C','u','r','r','e','n','t','I','D',0};
|
||||
static const WCHAR locationW[] = {'L','o','c','a','t','i','o','n','%','u',0};
|
||||
static const WCHAR areacodeW[] = {'A','r','e','a','C','o','d','e',0};
|
||||
static const WCHAR countryW[] = {'C','o','u','n','t','r','y',0};
|
||||
static const WCHAR fmtW[] = {'%','u',0};
|
||||
|
||||
static const WCHAR locations_keyW[] =
|
||||
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',
|
||||
'W','i','n','d','o','w','s','\\',
|
||||
'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
|
||||
'T','e','l','e','p','h','o','n','y','\\','L','o','c','a','t','i','o','n','s',0};
|
||||
|
||||
if(RegOpenKeyW(HKEY_LOCAL_MACHINE, locations_keyW, &hkey) == ERROR_SUCCESS) {
|
||||
valsize = sizeof( DWORD);
|
||||
if(!RegQueryValueExW(hkey, currentidW, 0, &type, (LPBYTE) &currid, &valsize) &&
|
||||
type == REG_DWORD) {
|
||||
/* find a subkey called Location1, Location2... */
|
||||
sprintfW( szlockey, locationW, currid);
|
||||
if( !RegOpenKeyW( hkey, szlockey, &hsubkey)) {
|
||||
if( citycode) {
|
||||
bufsize=sizeof(buf);
|
||||
if( !RegQueryValueExW( hsubkey, areacodeW, 0, &type, buf, &bufsize) &&
|
||||
type == REG_SZ) {
|
||||
lstrcpynW( citycode, (WCHAR *) buf, 8);
|
||||
} else
|
||||
citycode[0] = '\0';
|
||||
}
|
||||
if( countrycode) {
|
||||
bufsize=sizeof(buf);
|
||||
if( !RegQueryValueExW( hsubkey, countryW, 0, &type, buf, &bufsize) &&
|
||||
type == REG_DWORD)
|
||||
snprintfW( countrycode, 8, fmtW, *(LPDWORD) buf );
|
||||
else
|
||||
countrycode[0] = '\0';
|
||||
}
|
||||
TRACE("(%p \"%s\", %p \"%s\"): success.\n", countrycode, debugstr_w(countrycode),
|
||||
citycode, debugstr_w(citycode));
|
||||
RegCloseKey( hkey);
|
||||
RegCloseKey( hsubkey);
|
||||
return 0; /* SUCCESS */
|
||||
}
|
||||
}
|
||||
RegCloseKey( hkey);
|
||||
}
|
||||
WARN("(%p, %p): failed (no telephony registry entries?).\n", countrycode, citycode);
|
||||
return TAPIERR_REQUESTFAILED;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* tapiGetLocationInfoA (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI tapiGetLocationInfoA(LPSTR countrycode, LPSTR citycode)
|
||||
{
|
||||
DWORD ret, len;
|
||||
LPWSTR country, city;
|
||||
|
||||
len = MultiByteToWideChar( CP_ACP, 0, countrycode, -1, NULL, 0 );
|
||||
country = HeapAlloc( GetProcessHeap(), 0, len );
|
||||
MultiByteToWideChar( CP_ACP, 0, countrycode, -1, country, len );
|
||||
|
||||
len = MultiByteToWideChar( CP_ACP, 0, citycode, -1, NULL, 0 );
|
||||
city = HeapAlloc( GetProcessHeap(), 0, len );
|
||||
MultiByteToWideChar( CP_ACP, 0, citycode, -1, city, len );
|
||||
|
||||
ret = tapiGetLocationInfoW(country, city);
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, city );
|
||||
HeapFree( GetProcessHeap(), 0, country );
|
||||
return ret;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* tapiRequestMakeCall (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI tapiRequestMakeCallA(LPCSTR lpszDestAddress, LPCSTR lpszAppName,
|
||||
LPCSTR lpszCalledParty, LPCSTR lpszComment)
|
||||
{
|
||||
FIXME("(%s, %s, %s, %s): stub.\n", lpszDestAddress, lpszAppName, lpszCalledParty, lpszComment);
|
||||
return 0;
|
||||
}
|
57
dll/win32/tapi32/internal.c
Normal file
57
dll/win32/tapi32/internal.c
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* TAPI32 internal functions
|
||||
*
|
||||
* Copyright 2008 Dmitry Chapyshev
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/***********************************************************************
|
||||
* internalConfig (TAPI32.@)
|
||||
*/
|
||||
LONG WINAPI internalConfig(HWND hParentWnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
|
||||
{
|
||||
FIXME("internalConfig() not implemented!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* internalNewLocationW (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI internalNewLocationW(LPWSTR lpName)
|
||||
{
|
||||
FIXME("internalNewLocationW() not implemented!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* internalRemoveLocation (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI internalRemoveLocation(DWORD dwLocationId)
|
||||
{
|
||||
FIXME("internalRemoveLocation() not implemented!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* internalRenameLocationW (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI internalRenameLocationW(WCHAR *szPrevName, WCHAR *szNewName)
|
||||
{
|
||||
FIXME("internalRenameLocationW() not implemented!\n");
|
||||
return 0;
|
||||
}
|
1588
dll/win32/tapi32/line.c
Normal file
1588
dll/win32/tapi32/line.c
Normal file
File diff suppressed because it is too large
Load diff
352
dll/win32/tapi32/phone.c
Normal file
352
dll/win32/tapi32/phone.c
Normal file
|
@ -0,0 +1,352 @@
|
|||
/*
|
||||
* TAPI32 phone services
|
||||
*
|
||||
* Copyright 1999 Andreas Mohr
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
/*
|
||||
* Additional TSPI functions:
|
||||
* - voiceGetHandles
|
||||
* - TSPI_ProviderInit
|
||||
* - TSPI_ProviderShutdown
|
||||
* - TSPI_ProviderEnumDevices
|
||||
* - TSPI_ProviderConfig
|
||||
*/
|
||||
|
||||
/***********************************************************************
|
||||
* phoneClose (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneClose(HPHONE hPhone)
|
||||
{
|
||||
FIXME("(%p), stub.\n", hPhone);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneConfigDialog (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
|
||||
{
|
||||
FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneDevSpecific (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
|
||||
{
|
||||
FIXME("(%p, %p, %d): stub.\n", hPhone, lpParams, dwSize);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetButtonInfo (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID,
|
||||
LPPHONEBUTTONINFO lpButtonInfo)
|
||||
{
|
||||
FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetData (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
|
||||
{
|
||||
FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetDevCaps (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetDevCapsA(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
|
||||
DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetDisplay (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
|
||||
{
|
||||
FIXME("(%p, %p): stub.\n", hPhone, lpDisplay);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetGain (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
|
||||
{
|
||||
FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetHookSwitch (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetHookSwitch(HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
|
||||
{
|
||||
FIXME("(%p, %p): stub.\n", hPhone, lpdwHookSwitchDevs);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetID (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetIDA(HPHONE hPhone, LPVARSTRING lpDeviceID,
|
||||
LPCSTR lpszDeviceClass)
|
||||
{
|
||||
FIXME("(%p, %p, %s): stub.\n", hPhone, lpDeviceID, lpszDeviceClass);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetIcon (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
|
||||
HICON *lphIcon)
|
||||
{
|
||||
FIXME("(%08x, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetLamp (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
|
||||
LPDWORD lpdwLampMode)
|
||||
{
|
||||
FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* 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)
|
||||
{
|
||||
FIXME("(%p, %p, %p): stub.\n", hPhone, lpdwRingMode, lpdwVolume);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetStatus (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetStatusA(HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
|
||||
{
|
||||
FIXME("(%p, %p): stub.\n", hPhone, lpPhoneStatus);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetStatusMessages (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
|
||||
LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
|
||||
{
|
||||
FIXME("(%p, %p, %p, %p): stub.\n", hPhone, lpdwPhoneStates, lpdwButtonModes, lpdwButtonStates);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneGetVolume (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
|
||||
LPDWORD lpdwVolume)
|
||||
{
|
||||
FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume);
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneInitialize (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
|
||||
{
|
||||
FIXME("(%p, %p, %p, %s, %p): stub.\n", lphPhoneApp, hInstance, lpfnCallback, lpszAppName, lpdwNumDevs);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* 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)
|
||||
{
|
||||
FIXME("(): stub.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneNegotiateExtVersion (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
|
||||
DWORD dwAPIVersion, DWORD dwExtLowVersion,
|
||||
DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
|
||||
{
|
||||
FIXME("(): stub.\n");
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneOpen (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges)
|
||||
{
|
||||
FIXME("(): stub.\n");
|
||||
/* call TSPI function here ! */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetButtonInfo (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
|
||||
{
|
||||
FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetData (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
|
||||
{
|
||||
FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetDisplay (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
|
||||
{
|
||||
FIXME("(%p, '%s' at %d/%d, len %d): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetGain (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
|
||||
{
|
||||
FIXME("(%p, %08x, %d): stub.\n", hPhone, dwHookSwitchDev, dwGain);
|
||||
/* call TSPI function here ! */
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetHookSwitch (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
|
||||
/* call TSPI function here ! */
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetLamp (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetRing (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwRingMode, dwVolume);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetStatusMessages (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x, %08x): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
|
||||
/* call TSPI function here ! */
|
||||
return 0; /* FIXME ? */
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneSetVolume (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
|
||||
{
|
||||
FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
|
||||
/* call TSPI function here ! */
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* phoneShutdown (TAPI32.@)
|
||||
*/
|
||||
DWORD WINAPI phoneShutdown(HPHONEAPP hPhoneApp)
|
||||
{
|
||||
FIXME("(%p): stub.\n", hPhoneApp);
|
||||
return 0;
|
||||
}
|
23
dll/win32/tapi32/precomp.h
Normal file
23
dll/win32/tapi32/precomp.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef _TAPI32_PCH_
|
||||
#define _TAPI32_PCH_
|
||||
|
||||
#include <wine/config.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#include <objbase.h>
|
||||
#include <tapi.h>
|
||||
|
||||
#include <wine/unicode.h>
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(tapi);
|
||||
|
||||
#endif /* _TAPI32_PCH_ */
|
278
dll/win32/tapi32/tapi32.spec
Normal file
278
dll/win32/tapi32/tapi32.spec
Normal file
|
@ -0,0 +1,278 @@
|
|||
@ stub GetTapi16CallbackMsg
|
||||
@ stub LAddrParamsInited
|
||||
@ stub LOpenDialAsst
|
||||
@ stub LocWizardDlgProc
|
||||
@ stub MMCAddProvider
|
||||
@ stub MMCConfigProvider
|
||||
@ stub MMCGetAvailableProviders
|
||||
@ stub MMCGetDeviceFlags
|
||||
@ stub MMCGetLineInfo
|
||||
@ stub MMCGetLineStatus
|
||||
@ stub MMCGetPhoneInfo
|
||||
@ stub MMCGetPhoneStatus
|
||||
@ stub MMCGetProviderList
|
||||
@ stub MMCGetServerConfig
|
||||
@ stub MMCInitialize
|
||||
@ stub MMCRemoveProvider
|
||||
@ stub MMCSetLineInfo
|
||||
@ stub MMCSetPhoneInfo
|
||||
@ stub MMCSetServerConfig
|
||||
@ stub MMCShutdown
|
||||
@ stub NonAsyncEventThread
|
||||
@ stub TAPIWndProc
|
||||
@ stub TUISPIDLLCallback
|
||||
@ stdcall internalConfig(ptr long ptr ptr)
|
||||
@ stub internalCreateDefLocation
|
||||
@ stdcall internalNewLocationW(wstr)
|
||||
@ stub internalPerformance
|
||||
@ stdcall internalRemoveLocation(long)
|
||||
@ stdcall internalRenameLocationW(wstr wstr)
|
||||
@ stdcall lineAccept(long str long)
|
||||
@ stdcall lineAddProvider(str long ptr) lineAddProviderA
|
||||
@ stdcall lineAddProviderA(str long ptr)
|
||||
@ stdcall lineAddProviderW(wstr long ptr)
|
||||
@ stdcall lineAddToConference(long long)
|
||||
@ stub lineAgentSpecific
|
||||
@ stdcall lineAnswer(long str long)
|
||||
@ stdcall lineBlindTransfer(long str long) lineBlindTransferA
|
||||
@ stdcall lineBlindTransferA(long str long)
|
||||
@ stub lineBlindTransferW
|
||||
@ stdcall lineClose(long)
|
||||
@ stdcall lineCompleteCall(long ptr long long)
|
||||
@ stdcall lineCompleteTransfer(long long ptr long)
|
||||
@ stdcall lineConfigDialog(long long str) lineConfigDialogA
|
||||
@ stdcall lineConfigDialogA(long long str)
|
||||
@ stdcall lineConfigDialogW(long long wstr)
|
||||
@ stdcall lineConfigDialogEdit(long long str ptr long ptr) lineConfigDialogEditA
|
||||
@ stdcall lineConfigDialogEditA(long long str ptr long ptr)
|
||||
@ stub lineConfigDialogEditW
|
||||
@ stdcall lineConfigProvider(long long)
|
||||
@ stub lineCreateAgentA
|
||||
@ stub lineCreateAgentSessionA
|
||||
@ stub lineCreateAgentSessionW
|
||||
@ stub lineCreateAgentW
|
||||
@ stdcall lineDeallocateCall(long)
|
||||
@ stdcall lineDevSpecific(long long long ptr long)
|
||||
@ stdcall lineDevSpecificFeature(long long ptr long)
|
||||
@ stdcall lineDial(long str long) lineDialA
|
||||
@ stdcall lineDialA(long str long)
|
||||
@ stdcall lineDialW(long wstr long)
|
||||
@ stdcall lineDrop(long str long)
|
||||
@ stdcall lineForward(long long long ptr long ptr ptr) lineForwardA
|
||||
@ stdcall lineForwardA(long long long ptr long ptr ptr)
|
||||
@ stub lineForwardW
|
||||
@ stdcall lineGatherDigits(long long str long str long long) lineGatherDigitsA
|
||||
@ stdcall lineGatherDigitsA(long long str long str long long)
|
||||
@ stub lineGatherDigitsW
|
||||
@ stdcall lineGenerateDigits(long long str long) lineGenerateDigitsA
|
||||
@ stdcall lineGenerateDigitsA(long long str long)
|
||||
@ stub lineGenerateDigitsW
|
||||
@ stdcall lineGenerateTone(long long long long ptr)
|
||||
@ stdcall lineGetAddressCaps(long long long long long ptr) lineGetAddressCapsA
|
||||
@ stdcall lineGetAddressCapsA(long long long long long ptr)
|
||||
@ stub lineGetAddressCapsW
|
||||
@ stdcall lineGetAddressID(long ptr long str long) lineGetAddressIDA
|
||||
@ stdcall lineGetAddressIDA(long ptr long str long)
|
||||
@ stub lineGetAddressIDW
|
||||
@ stdcall lineGetAddressStatus(long long ptr) lineGetAddressStatusA
|
||||
@ stdcall lineGetAddressStatusA(long long ptr)
|
||||
@ stub lineGetAddressStatusW
|
||||
@ stub lineGetAgentActivityListA
|
||||
@ stub lineGetAgentActivityListW
|
||||
@ stub lineGetAgentCapsA
|
||||
@ stub lineGetAgentCapsW
|
||||
@ stub lineGetAgentGroupListA
|
||||
@ stub lineGetAgentGroupListW
|
||||
@ stub lineGetAgentInfo
|
||||
@ stub lineGetAgentSessionInfo
|
||||
@ stub lineGetAgentSessionList
|
||||
@ stub lineGetAgentStatusA
|
||||
@ stub lineGetAgentStatusW
|
||||
@ stdcall lineGetAppPriority(str long ptr long ptr ptr) lineGetAppPriorityA
|
||||
@ stdcall lineGetAppPriorityA(str long ptr long ptr ptr)
|
||||
@ stub lineGetAppPriorityW
|
||||
@ stdcall lineGetCallInfo(long ptr) lineGetCallInfoA
|
||||
@ stdcall lineGetCallInfoA(long ptr)
|
||||
@ stub lineGetCallInfoW
|
||||
@ stdcall lineGetCallStatus(long ptr)
|
||||
@ stdcall lineGetConfRelatedCalls(long ptr)
|
||||
@ stdcall lineGetCountry(long long ptr) lineGetCountryA
|
||||
@ stdcall lineGetCountryA(long long ptr)
|
||||
@ stdcall lineGetCountryW(long long ptr)
|
||||
@ stdcall lineGetDevCaps(long long long long ptr) lineGetDevCapsA
|
||||
@ stdcall lineGetDevCapsA(long long long long ptr)
|
||||
@ stdcall lineGetDevCapsW(long long long long ptr)
|
||||
@ stdcall lineGetDevConfig(long ptr str) lineGetDevConfigA
|
||||
@ stdcall lineGetDevConfigA(long ptr str)
|
||||
@ stub lineGetDevConfigW
|
||||
@ stub lineGetGroupListA
|
||||
@ stub lineGetGroupListW
|
||||
@ stdcall lineGetID(long long long long ptr str) lineGetIDA
|
||||
@ stdcall lineGetIDA(long long long long ptr str)
|
||||
@ stdcall lineGetIDW(long long long long ptr wstr)
|
||||
@ stdcall lineGetIcon(long str ptr) lineGetIconA
|
||||
@ stdcall lineGetIconA(long str ptr)
|
||||
@ stub lineGetIconW
|
||||
@ stdcall lineGetLineDevStatus(long ptr) lineGetLineDevStatusA
|
||||
@ stdcall lineGetLineDevStatusA(long ptr)
|
||||
@ stub lineGetLineDevStatusW
|
||||
@ stdcall lineGetMessage(long ptr long)
|
||||
@ stdcall lineGetNewCalls(long long long ptr)
|
||||
@ stdcall lineGetNumRings(long long ptr)
|
||||
@ stdcall lineGetProviderList(long ptr) lineGetProviderListA
|
||||
@ stdcall lineGetProviderListA(long ptr)
|
||||
@ stdcall lineGetProviderListW(long ptr)
|
||||
@ stub lineGetProxyStatus
|
||||
@ stub lineGetQueueInfo
|
||||
@ stub lineGetQueueInfoA
|
||||
@ stub lineGetQueueInfoW
|
||||
@ stdcall lineGetRequest(long long ptr) lineGetRequestA
|
||||
@ stdcall lineGetRequestA(long long ptr)
|
||||
@ stub lineGetRequestW
|
||||
@ stdcall lineGetStatusMessages(long ptr ptr)
|
||||
@ stdcall lineGetTranslateCaps(long long ptr) lineGetTranslateCapsA
|
||||
@ stdcall lineGetTranslateCapsA(long long ptr)
|
||||
@ stub lineGetTranslateCapsW
|
||||
@ stdcall lineHandoff(long str long) lineHandoffA
|
||||
@ stdcall lineHandoffA(long str long)
|
||||
@ stub lineHandoffW
|
||||
@ stdcall lineHold(long)
|
||||
@ stdcall lineInitialize(ptr long ptr str ptr)
|
||||
@ stdcall lineInitializeExA(ptr long ptr str ptr ptr ptr)
|
||||
@ stdcall lineInitializeExW(ptr long ptr wstr ptr ptr ptr)
|
||||
@ stdcall lineMakeCall(long ptr str long ptr) lineMakeCallA
|
||||
@ stdcall lineMakeCallA(long ptr str long ptr)
|
||||
@ stdcall lineMakeCallW(long ptr wstr long ptr)
|
||||
@ stdcall lineMonitorDigits(long long)
|
||||
@ stdcall lineMonitorMedia(long long)
|
||||
@ stdcall lineMonitorTones(long ptr long)
|
||||
@ stdcall lineNegotiateAPIVersion(long long long long ptr ptr)
|
||||
@ stdcall lineNegotiateExtVersion(long long long long long ptr)
|
||||
@ stdcall lineOpen(long long ptr long long long long long ptr) lineOpenA
|
||||
@ stdcall lineOpenA(long long ptr long long long long long ptr)
|
||||
@ stdcall lineOpenW(long long ptr long long long long long ptr)
|
||||
@ stdcall linePark(long long str ptr) lineParkA
|
||||
@ stdcall lineParkA(long long str ptr)
|
||||
@ stub lineParkW
|
||||
@ stdcall linePickup(long long ptr str str) linePickupA
|
||||
@ stdcall linePickupA(long long ptr str str)
|
||||
@ stub linePickupW
|
||||
@ stdcall linePrepareAddToConference(long ptr ptr) linePrepareAddToConferenceA
|
||||
@ stdcall linePrepareAddToConferenceA(long ptr ptr)
|
||||
@ stub linePrepareAddToConferenceW
|
||||
@ stub lineProxyMessage
|
||||
@ stub lineProxyResponse
|
||||
@ stdcall lineRedirect(long str long) lineRedirectA
|
||||
@ stdcall lineRedirectA(long str long)
|
||||
@ stub lineRedirectW
|
||||
@ stdcall lineRegisterRequestRecipient(long long long long)
|
||||
@ stdcall lineReleaseUserUserInfo(long)
|
||||
@ stdcall lineRemoveFromConference(long)
|
||||
@ stdcall lineRemoveProvider(long long)
|
||||
@ stdcall lineSecureCall(long)
|
||||
@ stdcall lineSendUserUserInfo(long str long)
|
||||
@ stub lineSetAgentActivity
|
||||
@ stub lineSetAgentGroup
|
||||
@ stub lineSetAgentMeasurementPeriod
|
||||
@ stub lineSetAgentSessionState
|
||||
@ stub lineSetAgentState
|
||||
@ stub lineSetAgentStateEx
|
||||
@ stdcall lineSetAppPriority(str long ptr long str long) lineSetAppPriorityA
|
||||
@ stdcall lineSetAppPriorityA(str long ptr long str long)
|
||||
@ stub lineSetAppPriorityW
|
||||
@ stdcall lineSetAppSpecific(long long)
|
||||
@ stub lineSetCallData
|
||||
@ stdcall lineSetCallParams(long long long long ptr)
|
||||
@ stdcall lineSetCallPrivilege(long long)
|
||||
@ stub lineSetCallQualityOfService
|
||||
@ stub lineSetCallTreatment
|
||||
@ stdcall lineSetCurrentLocation(long long)
|
||||
@ stdcall lineSetDevConfig(long ptr long str) lineSetDevConfigA
|
||||
@ stdcall lineSetDevConfigA(long ptr long str)
|
||||
@ stub lineSetDevConfigW
|
||||
@ stub lineSetLineDevStatus
|
||||
@ stdcall lineSetMediaControl(long long long long ptr long ptr long ptr long ptr long)
|
||||
@ stdcall lineSetMediaMode(long long)
|
||||
@ stdcall lineSetNumRings(long long long)
|
||||
@ stub lineSetQueueMeasurementPeriod
|
||||
@ stdcall lineSetStatusMessages(long long long)
|
||||
@ stdcall lineSetTerminal(long long long long long long long)
|
||||
@ stdcall lineSetTollList(long long str long) lineSetTollListA
|
||||
@ stdcall lineSetTollListA(long long str long)
|
||||
@ stub lineSetTollListW
|
||||
@ stdcall lineSetupConference(long long ptr ptr long ptr) lineSetupConferenceA
|
||||
@ stdcall lineSetupConferenceA(long long ptr ptr long ptr)
|
||||
@ stub lineSetupConferenceW
|
||||
@ stdcall lineSetupTransfer(long ptr ptr) lineSetupTransferA
|
||||
@ stdcall lineSetupTransferA(long ptr ptr)
|
||||
@ stub lineSetupTransferW
|
||||
@ stdcall lineShutdown(long)
|
||||
@ stdcall lineSwapHold(long long)
|
||||
@ stdcall lineTranslateAddress(long long long str long long ptr) lineTranslateAddressA
|
||||
@ stdcall lineTranslateAddressA(long long long str long long ptr)
|
||||
@ stdcall lineTranslateAddressW(long long long wstr long long ptr)
|
||||
@ stdcall lineTranslateDialog(long long long long str) lineTranslateDialogA
|
||||
@ stdcall lineTranslateDialogA(long long long long str)
|
||||
@ stdcall lineTranslateDialogW(long long long long wstr)
|
||||
@ stdcall lineUncompleteCall(long long)
|
||||
@ stdcall lineUnhold(long)
|
||||
@ stdcall lineUnpark(long long ptr str) lineUnparkA
|
||||
@ stdcall lineUnparkA(long long ptr str)
|
||||
@ stub lineUnparkW
|
||||
@ stdcall phoneClose(long)
|
||||
@ stdcall phoneConfigDialog(long long str) phoneConfigDialogA
|
||||
@ stdcall phoneConfigDialogA(long long str)
|
||||
@ stub phoneConfigDialogW
|
||||
@ stdcall phoneDevSpecific(long ptr long)
|
||||
@ stdcall phoneGetButtonInfo(long long ptr) phoneGetButtonInfoA
|
||||
@ stdcall phoneGetButtonInfoA(long long ptr)
|
||||
@ stub phoneGetButtonInfoW
|
||||
@ stdcall phoneGetData(long long ptr long)
|
||||
@ stdcall phoneGetDevCaps(long long long long ptr) phoneGetDevCapsA
|
||||
@ stdcall phoneGetDevCapsA(long long long long ptr)
|
||||
@ stub phoneGetDevCapsW
|
||||
@ stdcall phoneGetDisplay(long ptr)
|
||||
@ stdcall phoneGetGain(long long ptr)
|
||||
@ stdcall phoneGetHookSwitch(long ptr)
|
||||
@ stdcall phoneGetID(long ptr str) phoneGetIDA
|
||||
@ stdcall phoneGetIDA(long ptr str)
|
||||
@ stub phoneGetIDW
|
||||
@ stdcall phoneGetIcon(long str ptr) phoneGetIconA
|
||||
@ stdcall phoneGetIconA(long str ptr)
|
||||
@ stub phoneGetIconW
|
||||
@ 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)
|
||||
@ stub phoneGetStatusW
|
||||
@ 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)
|
||||
@ stdcall phoneSetButtonInfo(long long ptr) phoneSetButtonInfoA
|
||||
@ stdcall phoneSetButtonInfoA(long long ptr)
|
||||
@ stub phoneSetButtonInfoW
|
||||
@ stdcall phoneSetData(long long ptr long)
|
||||
@ stdcall phoneSetDisplay(long long long str long)
|
||||
@ stdcall phoneSetGain(long long long)
|
||||
@ stdcall phoneSetHookSwitch(long long long)
|
||||
@ stdcall phoneSetLamp(long long long)
|
||||
@ stdcall phoneSetRing(long long long)
|
||||
@ stdcall phoneSetStatusMessages(long long long long)
|
||||
@ stdcall phoneSetVolume(long long long)
|
||||
@ stdcall phoneShutdown(long)
|
||||
@ stdcall tapiGetLocationInfo(str str) tapiGetLocationInfoA
|
||||
@ stdcall tapiGetLocationInfoA(str str)
|
||||
@ stdcall tapiGetLocationInfoW(wstr wstr)
|
||||
@ stub tapiRequestDrop
|
||||
@ stdcall tapiRequestMakeCall(str str str str) tapiRequestMakeCallA
|
||||
@ stdcall tapiRequestMakeCallA(str str str str)
|
||||
@ stub tapiRequestMakeCallW
|
||||
@ stub tapiRequestMediaCall
|
||||
@ stub tapiRequestMediaCallA
|
||||
@ stub tapiRequestMediaCallW
|
Loading…
Add table
Add a link
Reference in a new issue