Tapi.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:171k
- #define lineConfigDialogEdit lineConfigDialogEditA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineConfigProvider( // TAPI v1.4
- HWND hwndOwner,
- DWORD dwPermanentProviderID
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineCreateAgentW( // TAPI v2.2
- HLINE hLine,
- LPWSTR lpszAgentID,
- LPWSTR lpszAgentPIN,
- LPHAGENT lphAgent
- );
- LONG
- WINAPI
- lineCreateAgentA( // TAPI v2.2
- HLINE hLine,
- LPSTR lpszAgentID,
- LPSTR lpszAgentPIN,
- LPHAGENT lphAgent
- );
- #ifdef UNICODE
- #define lineCreateAgent lineCreateAgentW
- #else
- #define lineCreateAgent lineCreateAgentA
- #endif
- LONG
- WINAPI
- lineCreateAgentSessionW( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- LPWSTR lpszAgentPIN,
- DWORD dwWorkingAddressID,
- LPGUID lpGroupID,
- LPHAGENTSESSION lphAgentSession
- );
- LONG
- WINAPI
- lineCreateAgentSessionA( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- LPSTR lpszAgentPIN,
- DWORD dwWorkingAddressID,
- LPGUID lpGroupID,
- LPHAGENTSESSION lphAgentSession
- );
- #ifdef UNICODE
- #define lineCreateAgent lineCreateAgentW
- #else
- #define lineCreateAgent lineCreateAgentA
- #endif
- #endif
- LONG
- WINAPI
- lineDeallocateCall(
- HCALL hCall
- );
- LONG
- WINAPI
- lineDevSpecific(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- LPVOID lpParams,
- DWORD dwSize
- );
- LONG
- WINAPI
- lineDevSpecificFeature(
- HLINE hLine,
- DWORD dwFeature,
- LPVOID lpParams,
- DWORD dwSize
- );
- LONG
- WINAPI
- lineDial(
- HCALL hCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- #if WIN32
- LONG
- WINAPI
- lineDialA(
- HCALL hCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- LONG
- WINAPI
- lineDialW(
- HCALL hCall,
- LPCWSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- #ifdef UNICODE
- #define lineDial lineDialW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineDial lineDialA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineDrop(
- HCALL hCall,
- LPCSTR lpsUserUserInfo,
- DWORD dwSize
- );
- LONG
- WINAPI
- lineForward(
- HLINE hLine,
- DWORD bAllAddresses,
- DWORD dwAddressID,
- LPLINEFORWARDLIST const lpForwardList,
- DWORD dwNumRingsNoAnswer,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- lineForwardA(
- HLINE hLine,
- DWORD bAllAddresses,
- DWORD dwAddressID,
- LPLINEFORWARDLIST const lpForwardList,
- DWORD dwNumRingsNoAnswer,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- lineForwardW(
- HLINE hLine,
- DWORD bAllAddresses,
- DWORD dwAddressID,
- LPLINEFORWARDLIST const lpForwardList,
- DWORD dwNumRingsNoAnswer,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define lineForward lineForwardW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineForward lineForwardA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGatherDigits(
- HCALL hCall,
- DWORD dwDigitModes,
- LPSTR lpsDigits,
- DWORD dwNumDigits,
- LPCSTR lpszTerminationDigits,
- DWORD dwFirstDigitTimeout,
- DWORD dwInterDigitTimeout
- );
- #if WIN32
- LONG
- WINAPI
- lineGatherDigitsA(
- HCALL hCall,
- DWORD dwDigitModes,
- LPSTR lpsDigits,
- DWORD dwNumDigits,
- LPCSTR lpszTerminationDigits,
- DWORD dwFirstDigitTimeout,
- DWORD dwInterDigitTimeout
- );
- LONG
- WINAPI
- lineGatherDigitsW(
- HCALL hCall,
- DWORD dwDigitModes,
- LPWSTR lpsDigits,
- DWORD dwNumDigits,
- LPCWSTR lpszTerminationDigits,
- DWORD dwFirstDigitTimeout,
- DWORD dwInterDigitTimeout
- );
- #ifdef UNICODE
- #define lineGatherDigits lineGatherDigitsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGatherDigits lineGatherDigitsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGenerateDigits(
- HCALL hCall,
- DWORD dwDigitMode,
- LPCSTR lpszDigits,
- DWORD dwDuration
- );
- #if WIN32
- LONG
- WINAPI
- lineGenerateDigitsA(
- HCALL hCall,
- DWORD dwDigitMode,
- LPCSTR lpszDigits,
- DWORD dwDuration
- );
- LONG
- WINAPI
- lineGenerateDigitsW(
- HCALL hCall,
- DWORD dwDigitMode,
- LPCWSTR lpszDigits,
- DWORD dwDuration
- );
- #ifdef UNICODE
- #define lineGenerateDigits lineGenerateDigitsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGenerateDigits lineGenerateDigitsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGenerateTone(
- HCALL hCall,
- DWORD dwToneMode,
- DWORD dwDuration,
- DWORD dwNumTones,
- LPLINEGENERATETONE const lpTones
- );
- LONG
- WINAPI
- lineGetAddressCaps(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAddressID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEADDRESSCAPS lpAddressCaps
- );
- #if WIN32
- LONG
- WINAPI
- lineGetAddressCapsA(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAddressID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEADDRESSCAPS lpAddressCaps
- );
- LONG
- WINAPI
- lineGetAddressCapsW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAddressID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEADDRESSCAPS lpAddressCaps
- );
- #ifdef UNICODE
- #define lineGetAddressCaps lineGetAddressCapsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetAddressCaps lineGetAddressCapsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetAddressID(
- HLINE hLine,
- LPDWORD lpdwAddressID,
- DWORD dwAddressMode,
- LPCSTR lpsAddress,
- DWORD dwSize
- );
- #if WIN32
- LONG
- WINAPI
- lineGetAddressIDA(
- HLINE hLine,
- LPDWORD lpdwAddressID,
- DWORD dwAddressMode,
- LPCSTR lpsAddress,
- DWORD dwSize
- );
- LONG
- WINAPI
- lineGetAddressIDW(
- HLINE hLine,
- LPDWORD lpdwAddressID,
- DWORD dwAddressMode,
- LPCWSTR lpsAddress,
- DWORD dwSize
- );
- #ifdef UNICODE
- #define lineGetAddressID lineGetAddressIDW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetAddressID lineGetAddressIDA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetAddressStatus(
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEADDRESSSTATUS lpAddressStatus
- );
- #if WIN32
- LONG
- WINAPI
- lineGetAddressStatusA(
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEADDRESSSTATUS lpAddressStatus
- );
- LONG
- WINAPI
- lineGetAddressStatusW(
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEADDRESSSTATUS lpAddressStatus
- );
- #ifdef UNICODE
- #define lineGetAddressStatus lineGetAddressStatusW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetAddressStatus lineGetAddressStatusA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineGetAgentActivityListA( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTACTIVITYLIST lpAgentActivityList
- );
- LONG
- WINAPI
- lineGetAgentActivityListW( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTACTIVITYLIST lpAgentActivityList
- );
- #ifdef UNICODE
- #define lineGetAgentActivityList lineGetAgentActivityListW
- #else
- #define lineGetAgentActivityList lineGetAgentActivityListA
- #endif
- LONG
- WINAPI
- lineGetAgentCapsA( // TAPI v2.0
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAddressID,
- DWORD dwAppAPIVersion,
- LPLINEAGENTCAPS lpAgentCaps
- );
- LONG
- WINAPI
- lineGetAgentCapsW( // TAPI v2.0
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAddressID,
- DWORD dwAppAPIVersion,
- LPLINEAGENTCAPS lpAgentCaps
- );
- #ifdef UNICODE
- #define lineGetAgentCaps lineGetAgentCapsW
- #else
- #define lineGetAgentCaps lineGetAgentCapsA
- #endif
- LONG
- WINAPI
- lineGetAgentGroupListA( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTGROUPLIST lpAgentGroupList
- );
- LONG
- WINAPI
- lineGetAgentGroupListW( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTGROUPLIST lpAgentGroupList
- );
- #ifdef UNICODE
- #define lineGetAgentGroupList lineGetAgentGroupListW
- #else
- #define lineGetAgentGroupList lineGetAgentGroupListA
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineGetAgentInfo( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- LPLINEAGENTINFO lpAgentInfo
- );
- LONG
- WINAPI
- lineGetAgentSessionInfo( // TAPI v2.2
- HLINE hLine,
- HAGENTSESSION hAgentSession,
- LPLINEAGENTSESSIONINFO lpAgentSessionInfo
- );
- LONG
- WINAPI
- lineGetAgentSessionList( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- LPLINEAGENTSESSIONLIST lpAgentSessionList
- );
- #endif
- LONG
- WINAPI
- lineGetAgentStatusA( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTSTATUS lpAgentStatus
- );
- LONG
- WINAPI
- lineGetAgentStatusW( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTSTATUS lpAgentStatus
- );
- #ifdef UNICODE
- #define lineGetAgentStatus lineGetAgentStatusW
- #else
- #define lineGetAgentStatus lineGetAgentStatusA
- #endif
- #endif
- LONG
- WINAPI
- lineGetAppPriority( // TAPI v1.4
- LPCSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPVARSTRING lpExtensionName,
- LPDWORD lpdwPriority
- );
- #if WIN32
- LONG
- WINAPI
- lineGetAppPriorityA( // TAPI v1.4
- LPCSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPVARSTRING lpExtensionName,
- LPDWORD lpdwPriority
- );
- LONG
- WINAPI
- lineGetAppPriorityW( // TAPI v1.4
- LPCWSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPVARSTRING lpExtensionName,
- LPDWORD lpdwPriority
- );
- #ifdef UNICODE
- #define lineGetAppPriority lineGetAppPriorityW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetAppPriority lineGetAppPriorityA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetCallInfo(
- HCALL hCall,
- LPLINECALLINFO lpCallInfo
- );
- #if WIN32
- LONG
- WINAPI
- lineGetCallInfoA(
- HCALL hCall,
- LPLINECALLINFO lpCallInfo
- );
- LONG
- WINAPI
- lineGetCallInfoW(
- HCALL hCall,
- LPLINECALLINFO lpCallInfo
- );
- #ifdef UNICODE
- #define lineGetCallInfo lineGetCallInfoW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetCallInfo lineGetCallInfoA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetCallStatus(
- HCALL hCall,
- LPLINECALLSTATUS lpCallStatus
- );
- LONG
- WINAPI
- lineGetConfRelatedCalls(
- HCALL hCall,
- LPLINECALLLIST lpCallList
- );
- LONG
- WINAPI
- lineGetCountry( // TAPI v1.4
- DWORD dwCountryID,
- DWORD dwAPIVersion,
- LPLINECOUNTRYLIST lpLineCountryList
- );
- #if WIN32
- LONG
- WINAPI
- lineGetCountryA( // TAPI v1.4
- DWORD dwCountryID,
- DWORD dwAPIVersion,
- LPLINECOUNTRYLIST lpLineCountryList
- );
- LONG
- WINAPI
- lineGetCountryW( // TAPI v1.4
- DWORD dwCountryID,
- DWORD dwAPIVersion,
- LPLINECOUNTRYLIST lpLineCountryList
- );
- #ifdef UNICODE
- #define lineGetCountry lineGetCountryW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetCountry lineGetCountryA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetDevCaps(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEDEVCAPS lpLineDevCaps
- );
- #if WIN32
- LONG
- WINAPI
- lineGetDevCapsA(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEDEVCAPS lpLineDevCaps
- );
- LONG
- WINAPI
- lineGetDevCapsW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPLINEDEVCAPS lpLineDevCaps
- );
- #ifdef UNICODE
- #define lineGetDevCaps lineGetDevCapsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetDevCaps lineGetDevCapsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetDevConfig(
- DWORD dwDeviceID,
- LPVARSTRING lpDeviceConfig,
- LPCSTR lpszDeviceClass
- );
- #if WIN32
- LONG
- WINAPI
- lineGetDevConfigA(
- DWORD dwDeviceID,
- LPVARSTRING lpDeviceConfig,
- LPCSTR lpszDeviceClass
- );
- LONG
- WINAPI
- lineGetDevConfigW(
- DWORD dwDeviceID,
- LPVARSTRING lpDeviceConfig,
- LPCWSTR lpszDeviceClass
- );
- #ifdef UNICODE
- #define lineGetDevConfig lineGetDevConfigW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetDevConfig lineGetDevConfigA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineGetGroupListA( // TAPI v2.2
- HLINE hLine,
- LPLINEAGENTGROUPLIST lpGroupList
- );
- LONG
- WINAPI
- lineGetGroupListW( // TAPI v2.2
- HLINE hLine,
- LPLINEAGENTGROUPLIST lpGroupList
- );
- #ifdef UNICODE
- #define lineGetGroupList lineGetGroupListW
- #else
- #define lineGetGroupList lineGetGroupListA
- #endif
- #endif
- LONG
- WINAPI
- lineGetIcon(
- DWORD dwDeviceID,
- LPCSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- #if WIN32
- LONG
- WINAPI
- lineGetIconA(
- DWORD dwDeviceID,
- LPCSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- LONG
- WINAPI
- lineGetIconW(
- DWORD dwDeviceID,
- LPCWSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- #ifdef UNICODE
- #define lineGetIcon lineGetIconW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetIcon lineGetIconA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetID(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- DWORD dwSelect,
- LPVARSTRING lpDeviceID,
- LPCSTR lpszDeviceClass
- );
- #if WIN32
- LONG
- WINAPI
- lineGetIDA(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- DWORD dwSelect,
- LPVARSTRING lpDeviceID,
- LPCSTR lpszDeviceClass
- );
- LONG
- WINAPI
- lineGetIDW(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- DWORD dwSelect,
- LPVARSTRING lpDeviceID,
- LPCWSTR lpszDeviceClass
- );
- #ifdef UNICODE
- #define lineGetID lineGetIDW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetID lineGetIDA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetLineDevStatus(
- HLINE hLine,
- LPLINEDEVSTATUS lpLineDevStatus
- );
- #if WIN32
- LONG
- WINAPI
- lineGetLineDevStatusA(
- HLINE hLine,
- LPLINEDEVSTATUS lpLineDevStatus
- );
- LONG
- WINAPI
- lineGetLineDevStatusW(
- HLINE hLine,
- LPLINEDEVSTATUS lpLineDevStatus
- );
- #ifdef UNICODE
- #define lineGetDevStatus lineGetDevStatusW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetDevStatus lineGetDevStatusA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineGetMessage( // TAPI v2.0
- HLINEAPP hLineApp,
- LPLINEMESSAGE lpMessage,
- DWORD dwTimeout
- );
- #endif
- LONG
- WINAPI
- lineGetNewCalls(
- HLINE hLine,
- DWORD dwAddressID,
- DWORD dwSelect,
- LPLINECALLLIST lpCallList
- );
- LONG
- WINAPI
- lineGetNumRings(
- HLINE hLine,
- DWORD dwAddressID,
- LPDWORD lpdwNumRings
- );
- LONG
- WINAPI
- lineGetProviderList( // TAPI v1.4
- DWORD dwAPIVersion,
- LPLINEPROVIDERLIST lpProviderList
- );
- #if WIN32
- LONG
- WINAPI
- lineGetProviderListA(
- DWORD dwAPIVersion,
- LPLINEPROVIDERLIST lpProviderList
- );
- LONG
- WINAPI
- lineGetProviderListW(
- DWORD dwAPIVersion,
- LPLINEPROVIDERLIST lpProviderList
- );
- #ifdef UNICODE
- #define lineGetProviderList lineGetProviderListW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetProviderList lineGetProviderListA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineGetProxyStatus( // TAPI v2.2
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAppAPIVersion,
- LPLINEPROXYREQUESTLIST lpLineProxyReqestList
- );
- LONG
- WINAPI
- lineGetQueueInfo( // TAPI v2.2
- HLINE hLine,
- DWORD dwQueueID,
- LPLINEQUEUEINFO lpLineQueueInfo
- );
- LONG
- WINAPI
- lineGetQueueListA( // TAPI v2.2
- HLINE hLine,
- LPGUID lpGroupID,
- LPLINEQUEUELIST lpQueueList
- );
- LONG
- WINAPI
- lineGetQueueListW( // TAPI v2.2
- HLINE hLine,
- LPGUID lpGroupID,
- LPLINEQUEUELIST lpQueueList
- );
- #ifdef UNICODE
- #define lineGetQueueList lineGetQueueListW
- #else
- #define lineGetQueueList lineGetQueueListA
- #endif
- #endif
- LONG
- WINAPI
- lineGetRequest(
- HLINEAPP hLineApp,
- DWORD dwRequestMode,
- LPVOID lpRequestBuffer
- );
- #if WIN32
- LONG
- WINAPI
- lineGetRequestA(
- HLINEAPP hLineApp,
- DWORD dwRequestMode,
- LPVOID lpRequestBuffer
- );
- LONG
- WINAPI
- lineGetRequestW(
- HLINEAPP hLineApp,
- DWORD dwRequestMode,
- LPVOID lpRequestBuffer
- );
- #ifdef UNICODE
- #define lineGetRequest lineGetRequestW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetRequest lineGetRequestA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineGetStatusMessages(
- HLINE hLine,
- LPDWORD lpdwLineStates,
- LPDWORD lpdwAddressStates
- );
- LONG
- WINAPI
- lineGetTranslateCaps(
- HLINEAPP hLineApp,
- DWORD dwAPIVersion,
- LPLINETRANSLATECAPS lpTranslateCaps
- );
- #if WIN32
- LONG
- WINAPI
- lineGetTranslateCapsA(
- HLINEAPP hLineApp,
- DWORD dwAPIVersion,
- LPLINETRANSLATECAPS lpTranslateCaps
- );
- LONG
- WINAPI
- lineGetTranslateCapsW(
- HLINEAPP hLineApp,
- DWORD dwAPIVersion,
- LPLINETRANSLATECAPS lpTranslateCaps
- );
- #ifdef UNICODE
- #define lineGetTranslateCaps lineGetTranslateCapsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineGetTranslateCaps lineGetTranslateCapsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineHandoff(
- HCALL hCall,
- LPCSTR lpszFileName,
- DWORD dwMediaMode
- );
- #if WIN32
- LONG
- WINAPI
- lineHandoffA(
- HCALL hCall,
- LPCSTR lpszFileName,
- DWORD dwMediaMode
- );
- LONG
- WINAPI
- lineHandoffW(
- HCALL hCall,
- LPCWSTR lpszFileName,
- DWORD dwMediaMode
- );
- #ifdef UNICODE
- #define lineHandoff lineHandoffW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineHandoff lineHandoffA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineHold(
- HCALL hCall
- );
- LONG
- WINAPI
- lineInitialize(
- LPHLINEAPP lphLineApp,
- HINSTANCE hInstance,
- LINECALLBACK lpfnCallback,
- LPCSTR lpszAppName,
- LPDWORD lpdwNumDevs
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineInitializeExA( // TAPI v2.0
- LPHLINEAPP lphLineApp,
- HINSTANCE hInstance,
- LINECALLBACK lpfnCallback,
- LPCSTR lpszFriendlyAppName,
- LPDWORD lpdwNumDevs,
- LPDWORD lpdwAPIVersion,
- LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams
- );
- LONG
- WINAPI
- lineInitializeExW( // TAPI v2.0
- LPHLINEAPP lphLineApp,
- HINSTANCE hInstance,
- LINECALLBACK lpfnCallback,
- LPCWSTR lpszFriendlyAppName,
- LPDWORD lpdwNumDevs,
- LPDWORD lpdwAPIVersion,
- LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams
- );
- #ifdef UNICODE
- #define lineInitializeEx lineInitializeExW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineInitializeEx lineInitializeExA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineMakeCall(
- HLINE hLine,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- lineMakeCallA(
- HLINE hLine,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- lineMakeCallW(
- HLINE hLine,
- LPHCALL lphCall,
- LPCWSTR lpszDestAddress,
- DWORD dwCountryCode,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define lineMakeCall lineMakeCallW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineMakeCall lineMakeCallA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineMonitorDigits(
- HCALL hCall,
- DWORD dwDigitModes
- );
- LONG
- WINAPI
- lineMonitorMedia(
- HCALL hCall,
- DWORD dwMediaModes
- );
- LONG
- WINAPI
- lineMonitorTones(
- HCALL hCall,
- LPLINEMONITORTONE const lpToneList,
- DWORD dwNumEntries
- );
- LONG
- WINAPI
- lineNegotiateAPIVersion(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPILowVersion,
- DWORD dwAPIHighVersion,
- LPDWORD lpdwAPIVersion,
- LPLINEEXTENSIONID lpExtensionID
- );
- LONG
- WINAPI
- lineNegotiateExtVersion(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtLowVersion,
- DWORD dwExtHighVersion,
- LPDWORD lpdwExtVersion
- );
- LONG
- WINAPI
- lineOpen(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPHLINE lphLine,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- DWORD_PTR dwCallbackInstance,
- DWORD dwPrivileges,
- DWORD dwMediaModes,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- lineOpenA(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPHLINE lphLine,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- DWORD_PTR dwCallbackInstance,
- DWORD dwPrivileges,
- DWORD dwMediaModes,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- lineOpenW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPHLINE lphLine,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- DWORD_PTR dwCallbackInstance,
- DWORD dwPrivileges,
- DWORD dwMediaModes,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define lineOpen lineOpenW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineOpen lineOpenA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- linePark(
- HCALL hCall,
- DWORD dwParkMode,
- LPCSTR lpszDirAddress,
- LPVARSTRING lpNonDirAddress
- );
- #if WIN32
- LONG
- WINAPI
- lineParkA(
- HCALL hCall,
- DWORD dwParkMode,
- LPCSTR lpszDirAddress,
- LPVARSTRING lpNonDirAddress
- );
- LONG
- WINAPI
- lineParkW(
- HCALL hCall,
- DWORD dwParkMode,
- LPCWSTR lpszDirAddress,
- LPVARSTRING lpNonDirAddress
- );
- #ifdef UNICODE
- #define linePark lineParkW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define linePark lineParkA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- linePickup(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress,
- LPCSTR lpszGroupID
- );
- #if WIN32
- LONG
- WINAPI
- linePickupA(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress,
- LPCSTR lpszGroupID
- );
- LONG
- WINAPI
- linePickupW(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCWSTR lpszDestAddress,
- LPCWSTR lpszGroupID
- );
- #ifdef UNICODE
- #define linePickup linePickupW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define linePickup linePickupA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- linePrepareAddToConference(
- HCALL hConfCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- linePrepareAddToConferenceA(
- HCALL hConfCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- linePrepareAddToConferenceW(
- HCALL hConfCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define linePrepareAddToConference linePrepareAddToConferenceW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define linePrepareAddToConference linePrepareAddToConferenceA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineProxyMessage( // TAPI v2.0
- HLINE hLine,
- HCALL hCall,
- DWORD dwMsg,
- DWORD dwParam1,
- DWORD dwParam2,
- DWORD dwParam3
- );
- LONG
- WINAPI
- lineProxyResponse( // TAPI v2.0
- HLINE hLine,
- LPLINEPROXYREQUEST lpProxyRequest,
- DWORD dwResult
- );
- #endif
- LONG
- WINAPI
- lineRedirect(
- HCALL hCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- #if WIN32
- LONG
- WINAPI
- lineRedirectA(
- HCALL hCall,
- LPCSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- LONG
- WINAPI
- lineRedirectW(
- HCALL hCall,
- LPCWSTR lpszDestAddress,
- DWORD dwCountryCode
- );
- #ifdef UNICODE
- #define lineRedirect lineRedirectW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineRedirect lineRedirectA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineRegisterRequestRecipient(
- HLINEAPP hLineApp,
- DWORD dwRegistrationInstance,
- DWORD dwRequestMode,
- DWORD bEnable
- );
- LONG
- WINAPI
- lineReleaseUserUserInfo( // TAPI v1.4
- HCALL hCall
- );
- LONG
- WINAPI
- lineRemoveFromConference(
- HCALL hCall
- );
- LONG
- WINAPI
- lineRemoveProvider( // TAPI v1.4
- DWORD dwPermanentProviderID,
- HWND hwndOwner
- );
- LONG
- WINAPI
- lineSecureCall(
- HCALL hCall
- );
- LONG
- WINAPI
- lineSendUserUserInfo(
- HCALL hCall,
- LPCSTR lpsUserUserInfo,
- DWORD dwSize
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineSetAgentActivity( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- DWORD dwActivityID
- );
- LONG
- WINAPI
- lineSetAgentGroup( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- LPLINEAGENTGROUPLIST lpAgentGroupList
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineSetAgentMeasurementPeriod( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- DWORD dwMeasurementPeriod
- );
- LONG
- WINAPI
- lineSetAgentSessionState( // TAPI v2.2
- HLINE hLine,
- HAGENTSESSION hAgentSession,
- DWORD dwAgentSessionState,
- DWORD dwNextAgentSessionState
- );
- LONG
- WINAPI
- lineSetAgentStateEx( // TAPI v2.2
- HLINE hLine,
- HAGENT hAgent,
- DWORD dwAgentState,
- DWORD dwNextAgentState
- );
- #endif
- LONG
- WINAPI
- lineSetAgentState( // TAPI v2.0
- HLINE hLine,
- DWORD dwAddressID,
- DWORD dwAgentState,
- DWORD dwNextAgentState
- );
- #endif
- LONG
- WINAPI
- lineSetAppPriority( // TAPI v1.4
- LPCSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPCSTR lpszExtensionName,
- DWORD dwPriority
- );
- #if WIN32
- LONG
- WINAPI
- lineSetAppPriorityA( // TAPI v1.4
- LPCSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPCSTR lpszExtensionName,
- DWORD dwPriority
- );
- LONG
- WINAPI
- lineSetAppPriorityW( // TAPI v1.4
- LPCWSTR lpszAppFilename,
- DWORD dwMediaMode,
- LPLINEEXTENSIONID lpExtensionID,
- DWORD dwRequestMode,
- LPCWSTR lpszExtensionName,
- DWORD dwPriority
- );
- #ifdef UNICODE
- #define lineSetAppPriority lineSetAppPriorityW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineSetAppPriority lineSetAppPriorityA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineSetAppSpecific(
- HCALL hCall,
- DWORD dwAppSpecific
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineSetCallData( // TAPI v2.0
- HCALL hCall,
- LPVOID lpCallData,
- DWORD dwSize
- );
- #endif
- LONG
- WINAPI
- lineSetCallParams(
- HCALL hCall,
- DWORD dwBearerMode,
- DWORD dwMinRate,
- DWORD dwMaxRate,
- LPLINEDIALPARAMS const lpDialParams
- );
- LONG
- WINAPI
- lineSetCallPrivilege(
- HCALL hCall,
- DWORD dwCallPrivilege
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineSetCallQualityOfService( // TAPI v2.0
- HCALL hCall,
- LPVOID lpSendingFlowspec,
- DWORD dwSendingFlowspecSize,
- LPVOID lpReceivingFlowspec,
- DWORD dwReceivingFlowspecSize
- );
- LONG
- WINAPI
- lineSetCallTreatment( // TAPI v2.0
- HCALL hCall,
- DWORD dwTreatment
- );
- #endif
- LONG
- WINAPI
- lineSetCurrentLocation(
- HLINEAPP hLineApp,
- DWORD dwLocation
- );
- LONG
- WINAPI
- lineSetDevConfig(
- DWORD dwDeviceID,
- LPVOID const lpDeviceConfig,
- DWORD dwSize,
- LPCSTR lpszDeviceClass
- );
- #if WIN32
- LONG
- WINAPI
- lineSetDevConfigA(
- DWORD dwDeviceID,
- LPVOID const lpDeviceConfig,
- DWORD dwSize,
- LPCSTR lpszDeviceClass
- );
- LONG
- WINAPI
- lineSetDevConfigW(
- DWORD dwDeviceID,
- LPVOID const lpDeviceConfig,
- DWORD dwSize,
- LPCWSTR lpszDeviceClass
- );
- #ifdef UNICODE
- #define lineSetDevConfig lineSetDevConfigW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineSetDevConfig lineSetDevConfigA
- #endif
- #endif
- #endif
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- lineSetLineDevStatus( // TAPI v2.0
- HLINE hLine,
- DWORD dwStatusToChange,
- DWORD fStatus
- );
- #endif
- LONG
- WINAPI
- lineSetMediaControl(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- DWORD dwSelect,
- LPLINEMEDIACONTROLDIGIT const lpDigitList,
- DWORD dwDigitNumEntries,
- LPLINEMEDIACONTROLMEDIA const lpMediaList,
- DWORD dwMediaNumEntries,
- LPLINEMEDIACONTROLTONE const lpToneList,
- DWORD dwToneNumEntries,
- LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,
- DWORD dwCallStateNumEntries
- );
- LONG
- WINAPI
- lineSetMediaMode(
- HCALL hCall,
- DWORD dwMediaModes
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020002)
- LONG
- WINAPI
- lineSetQueueMeasurementPeriod( // TAPI v2.2
- HLINE hLine,
- DWORD dwQueueID,
- DWORD dwMeasurementPeriod
- );
- #endif
- LONG
- WINAPI
- lineSetNumRings(
- HLINE hLine,
- DWORD dwAddressID,
- DWORD dwNumRings
- );
- LONG
- WINAPI
- lineSetStatusMessages(
- HLINE hLine,
- DWORD dwLineStates,
- DWORD dwAddressStates
- );
- LONG
- WINAPI
- lineSetTerminal(
- HLINE hLine,
- DWORD dwAddressID,
- HCALL hCall,
- DWORD dwSelect,
- DWORD dwTerminalModes,
- DWORD dwTerminalID,
- DWORD bEnable
- );
- LONG
- WINAPI
- lineSetTollList(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPCSTR lpszAddressIn,
- DWORD dwTollListOption
- );
- #if WIN32
- LONG
- WINAPI
- lineSetTollListA(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPCSTR lpszAddressIn,
- DWORD dwTollListOption
- );
- LONG
- WINAPI
- lineSetTollListW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- LPCWSTR lpszAddressInW,
- DWORD dwTollListOption
- );
- #ifdef UNICODE
- #define lineSetTollList lineSetTollListW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineSetTollList lineSetTollListA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineSetupConference(
- HCALL hCall,
- HLINE hLine,
- LPHCALL lphConfCall,
- LPHCALL lphConsultCall,
- DWORD dwNumParties,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- lineSetupConferenceA(
- HCALL hCall,
- HLINE hLine,
- LPHCALL lphConfCall,
- LPHCALL lphConsultCall,
- DWORD dwNumParties,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- lineSetupConferenceW(
- HCALL hCall,
- HLINE hLine,
- LPHCALL lphConfCall,
- LPHCALL lphConsultCall,
- DWORD dwNumParties,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define lineSetupConference lineSetupConferenceW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineSetupConference lineSetupConferenceA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineSetupTransfer(
- HCALL hCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #if WIN32
- LONG
- WINAPI
- lineSetupTransferA(
- HCALL hCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- LONG
- WINAPI
- lineSetupTransferW(
- HCALL hCall,
- LPHCALL lphConsultCall,
- LPLINECALLPARAMS const lpCallParams
- );
- #ifdef UNICODE
- #define lineSetupTransfer lineSetupTransferW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineSetupTransfer lineSetupTransferA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineShutdown(
- HLINEAPP hLineApp
- );
- LONG
- WINAPI
- lineSwapHold(
- HCALL hActiveCall,
- HCALL hHeldCall
- );
- LONG
- WINAPI
- lineTranslateAddress(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- LPCSTR lpszAddressIn,
- DWORD dwCard,
- DWORD dwTranslateOptions,
- LPLINETRANSLATEOUTPUT lpTranslateOutput
- );
- #if WIN32
- LONG
- WINAPI
- lineTranslateAddressA(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- LPCSTR lpszAddressIn,
- DWORD dwCard,
- DWORD dwTranslateOptions,
- LPLINETRANSLATEOUTPUT lpTranslateOutput
- );
- LONG
- WINAPI
- lineTranslateAddressW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- LPCWSTR lpszAddressIn,
- DWORD dwCard,
- DWORD dwTranslateOptions,
- LPLINETRANSLATEOUTPUT lpTranslateOutput
- );
- #ifdef UNICODE
- #define lineTranslateAddress lineTranslateAddressW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineTranslateAddress lineTranslateAddressA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineTranslateDialog( // TAPI v1.4
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- HWND hwndOwner,
- LPCSTR lpszAddressIn
- );
- #if WIN32
- LONG
- WINAPI
- lineTranslateDialogA( // TAPI v1.4
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- HWND hwndOwner,
- LPCSTR lpszAddressIn
- );
- LONG
- WINAPI
- lineTranslateDialogW(
- HLINEAPP hLineApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- HWND hwndOwner,
- LPCWSTR lpszAddressIn
- );
- #ifdef UNICODE
- #define lineTranslateDialog lineTranslateDialogW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineTranslateDialog lineTranslateDialogA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- lineUncompleteCall(
- HLINE hLine,
- DWORD dwCompletionID
- );
- LONG
- WINAPI
- lineUnhold(
- HCALL hCall
- );
- LONG
- WINAPI
- lineUnpark(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress
- );
- #if WIN32
- LONG
- WINAPI
- lineUnparkA(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCSTR lpszDestAddress
- );
- LONG
- WINAPI
- lineUnparkW(
- HLINE hLine,
- DWORD dwAddressID,
- LPHCALL lphCall,
- LPCWSTR lpszDestAddress
- );
- #ifdef UNICODE
- #define lineUnpark lineUnparkW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define lineUnpark lineUnparkA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneClose(
- HPHONE hPhone
- );
- LONG
- WINAPI
- phoneConfigDialog(
- DWORD dwDeviceID,
- HWND hwndOwner,
- LPCSTR lpszDeviceClass
- );
- #if WIN32
- LONG
- WINAPI
- phoneConfigDialogA(
- DWORD dwDeviceID,
- HWND hwndOwner,
- LPCSTR lpszDeviceClass
- );
- LONG
- WINAPI
- phoneConfigDialogW(
- DWORD dwDeviceID,
- HWND hwndOwner,
- LPCWSTR lpszDeviceClass
- );
- #ifdef UNICODE
- #define phoneConfigDialog phoneConfigDialogW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneConfigDialog phoneConfigDialogA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneDevSpecific(
- HPHONE hPhone,
- LPVOID lpParams,
- DWORD dwSize
- );
- LONG
- WINAPI
- phoneGetButtonInfo(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO lpButtonInfo
- );
- #if WIN32
- LONG
- WINAPI
- phoneGetButtonInfoA(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO lpButtonInfo
- );
- LONG
- WINAPI
- phoneGetButtonInfoW(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO lpButtonInfo
- );
- #ifdef UNICODE
- #define phoneGetButtonInfo phoneGetButtonInfoW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneGetButtonInfo phoneGetButtonInfoA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneGetData(
- HPHONE hPhone,
- DWORD dwDataID,
- LPVOID lpData,
- DWORD dwSize
- );
- LONG
- WINAPI
- phoneGetDevCaps(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPPHONECAPS lpPhoneCaps
- );
- #if WIN32
- LONG
- WINAPI
- phoneGetDevCapsA(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPPHONECAPS lpPhoneCaps
- );
- LONG
- WINAPI
- phoneGetDevCapsW(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- LPPHONECAPS lpPhoneCaps
- );
- #ifdef UNICODE
- #define phoneGetDevCaps phoneGetDevCapsW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneGetDevCaps phoneGetDevCapsA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneGetDisplay(
- HPHONE hPhone,
- LPVARSTRING lpDisplay
- );
- LONG
- WINAPI
- phoneGetGain(
- HPHONE hPhone,
- DWORD dwHookSwitchDev,
- LPDWORD lpdwGain
- );
- LONG
- WINAPI
- phoneGetHookSwitch(
- HPHONE hPhone,
- LPDWORD lpdwHookSwitchDevs
- );
- LONG
- WINAPI
- phoneGetIcon(
- DWORD dwDeviceID,
- LPCSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- #if WIN32
- LONG
- WINAPI
- phoneGetIconA(
- DWORD dwDeviceID,
- LPCSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- LONG
- WINAPI
- phoneGetIconW(
- DWORD dwDeviceID,
- LPCWSTR lpszDeviceClass,
- LPHICON lphIcon
- );
- #ifdef UNICODE
- #define phoneGetIcon phoneGetIconW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneGetIcon phoneGetIconA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneGetID(
- HPHONE hPhone,
- LPVARSTRING lpDeviceID,
- LPCSTR lpszDeviceClass
- );
- #if WIN32
- LONG
- WINAPI
- phoneGetIDA(
- HPHONE hPhone,
- LPVARSTRING lpDeviceID,
- LPCSTR lpszDeviceClass
- );
- LONG
- WINAPI
- phoneGetIDW(
- HPHONE hPhone,
- LPVARSTRING lpDeviceID,
- LPCWSTR lpszDeviceClass
- );
- #ifdef UNICODE
- #define phoneGetID phoneGetIDW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneGetID phoneGetIDA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneGetLamp(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPDWORD lpdwLampMode
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- phoneGetMessage( // TAPI v2.0
- HPHONEAPP hPhoneApp,
- LPPHONEMESSAGE lpMessage,
- DWORD dwTimeout
- );
- #endif
- LONG
- WINAPI
- phoneGetRing(
- HPHONE hPhone,
- LPDWORD lpdwRingMode,
- LPDWORD lpdwVolume
- );
- LONG
- WINAPI
- phoneGetStatus(
- HPHONE hPhone,
- LPPHONESTATUS lpPhoneStatus
- );
- #if WIN32
- LONG
- WINAPI
- phoneGetStatusA(
- HPHONE hPhone,
- LPPHONESTATUS lpPhoneStatus
- );
- LONG
- WINAPI
- phoneGetStatusW(
- HPHONE hPhone,
- LPPHONESTATUS lpPhoneStatus
- );
- #ifdef UNICODE
- #define phoneGetStatus phoneGetStatusW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneGetStatus phoneGetStatusA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneGetStatusMessages(
- HPHONE hPhone,
- LPDWORD lpdwPhoneStates,
- LPDWORD lpdwButtonModes,
- LPDWORD lpdwButtonStates
- );
- LONG
- WINAPI
- phoneGetVolume(
- HPHONE hPhone,
- DWORD dwHookSwitchDev,
- LPDWORD lpdwVolume
- );
- LONG
- WINAPI
- phoneInitialize(
- LPHPHONEAPP lphPhoneApp,
- HINSTANCE hInstance,
- PHONECALLBACK lpfnCallback,
- LPCSTR lpszAppName,
- LPDWORD lpdwNumDevs
- );
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- LONG
- WINAPI
- phoneInitializeExA( // TAPI v2.0
- LPHPHONEAPP lphPhoneApp,
- HINSTANCE hInstance,
- PHONECALLBACK lpfnCallback,
- LPCSTR lpszFriendlyAppName,
- LPDWORD lpdwNumDevs,
- LPDWORD lpdwAPIVersion,
- LPPHONEINITIALIZEEXPARAMS lpPhoneInitializeExParams
- );
- LONG
- WINAPI
- phoneInitializeExW( // TAPI v2.0
- LPHPHONEAPP lphPhoneApp,
- HINSTANCE hInstance,
- PHONECALLBACK lpfnCallback,
- LPCWSTR lpszFriendlyAppName,
- LPDWORD lpdwNumDevs,
- LPDWORD lpdwAPIVersion,
- LPPHONEINITIALIZEEXPARAMS lpPhoneInitializeExParams
- );
- #ifdef UNICODE
- #define phoneInitializeEx phoneInitializeExW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneInitializeEx phoneInitializeExA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneNegotiateAPIVersion(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- DWORD dwAPILowVersion,
- DWORD dwAPIHighVersion,
- LPDWORD lpdwAPIVersion,
- LPPHONEEXTENSIONID lpExtensionID
- );
- LONG
- WINAPI
- phoneNegotiateExtVersion(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- DWORD dwAPIVersion,
- DWORD dwExtLowVersion,
- DWORD dwExtHighVersion,
- LPDWORD lpdwExtVersion
- );
- LONG
- WINAPI
- phoneOpen(
- HPHONEAPP hPhoneApp,
- DWORD dwDeviceID,
- LPHPHONE lphPhone,
- DWORD dwAPIVersion,
- DWORD dwExtVersion,
- DWORD_PTR dwCallbackInstance,
- DWORD dwPrivilege
- );
- LONG
- WINAPI
- phoneSetButtonInfo(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO const lpButtonInfo
- );
- #if WIN32
- LONG
- WINAPI
- phoneSetButtonInfoA(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO const lpButtonInfo
- );
- LONG
- WINAPI
- phoneSetButtonInfoW(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- LPPHONEBUTTONINFO const lpButtonInfo
- );
- #ifdef UNICODE
- #define phoneSetButtonInfo phoneSetButtonInfoW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define phoneSetButtonInfo phoneSetButtonInfoA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- phoneSetData(
- HPHONE hPhone,
- DWORD dwDataID,
- LPVOID const lpData,
- DWORD dwSize
- );
- LONG
- WINAPI
- phoneSetDisplay(
- HPHONE hPhone,
- DWORD dwRow,
- DWORD dwColumn,
- LPCSTR lpsDisplay,
- DWORD dwSize
- );
- LONG
- WINAPI
- phoneSetGain(
- HPHONE hPhone,
- DWORD dwHookSwitchDev,
- DWORD dwGain
- );
- LONG
- WINAPI
- phoneSetHookSwitch(
- HPHONE hPhone,
- DWORD dwHookSwitchDevs,
- DWORD dwHookSwitchMode
- );
- LONG
- WINAPI
- phoneSetLamp(
- HPHONE hPhone,
- DWORD dwButtonLampID,
- DWORD dwLampMode
- );
- LONG
- WINAPI
- phoneSetRing(
- HPHONE hPhone,
- DWORD dwRingMode,
- DWORD dwVolume
- );
- LONG
- WINAPI
- phoneSetStatusMessages(
- HPHONE hPhone,
- DWORD dwPhoneStates,
- DWORD dwButtonModes,
- DWORD dwButtonStates
- );
- LONG
- WINAPI
- phoneSetVolume(
- HPHONE hPhone,
- DWORD dwHookSwitchDev,
- DWORD dwVolume
- );
- LONG
- WINAPI
- phoneShutdown(
- HPHONEAPP hPhoneApp
- );
- LONG
- WINAPI
- tapiGetLocationInfo(
- LPSTR lpszCountryCode,
- LPSTR lpszCityCode
- );
- #if WIN32
- LONG
- WINAPI
- tapiGetLocationInfoA(
- LPSTR lpszCountryCode,
- LPSTR lpszCityCode
- );
- LONG
- WINAPI
- tapiGetLocationInfoW(
- LPWSTR lpszCountryCodeW,
- LPWSTR lpszCityCodeW
- );
- #ifdef UNICODE
- #define tapiGetLocationInfo tapiGetLocationInfoW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define tapiGetLocationInfo tapiGetLocationInfoA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- tapiRequestDrop(
- HWND hwnd,
- WPARAM wRequestID
- );
- LONG
- WINAPI
- tapiRequestMakeCall(
- LPCSTR lpszDestAddress,
- LPCSTR lpszAppName,
- LPCSTR lpszCalledParty,
- LPCSTR lpszComment
- );
- #if WIN32
- LONG
- WINAPI
- tapiRequestMakeCallA(
- LPCSTR lpszDestAddress,
- LPCSTR lpszAppName,
- LPCSTR lpszCalledParty,
- LPCSTR lpszComment
- );
- LONG
- WINAPI
- tapiRequestMakeCallW(
- LPCWSTR lpszDestAddress,
- LPCWSTR lpszAppName,
- LPCWSTR lpszCalledParty,
- LPCWSTR lpszComment
- );
- #ifdef UNICODE
- #define tapiRequestMakeCall tapiRequestMakeCallW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define tapiRequestMakeCall tapiRequestMakeCallA
- #endif
- #endif
- #endif
- LONG
- WINAPI
- tapiRequestMediaCall(
- HWND hwnd,
- WPARAM wRequestID,
- LPCSTR lpszDeviceClass,
- LPCSTR lpDeviceID,
- DWORD dwSize,
- DWORD dwSecure,
- LPCSTR lpszDestAddress,
- LPCSTR lpszAppName,
- LPCSTR lpszCalledParty,
- LPCSTR lpszComment
- );
- #if WIN32
- LONG
- WINAPI
- tapiRequestMediaCallA(
- HWND hwnd,
- WPARAM wRequestID,
- LPCSTR lpszDeviceClass,
- LPCSTR lpDeviceID,
- DWORD dwSize,
- DWORD dwSecure,
- LPCSTR lpszDestAddress,
- LPCSTR lpszAppName,
- LPCSTR lpszCalledParty,
- LPCSTR lpszComment
- );
- LONG
- WINAPI
- tapiRequestMediaCallW(
- HWND hwnd,
- WPARAM wRequestID,
- LPCWSTR lpszDeviceClass,
- LPCWSTR lpDeviceID,
- DWORD dwSize,
- DWORD dwSecure,
- LPCWSTR lpszDestAddress,
- LPCWSTR lpszAppName,
- LPCWSTR lpszCalledParty,
- LPCWSTR lpszComment
- );
- #ifdef UNICODE
- #define tapiRequestMediaCall tapiRequestMediaCallW
- #else
- #if (TAPI_CURRENT_VERSION >= 0x00020000)
- #define tapiRequestMediaCall tapiRequestMediaCallA
- #endif
- #endif
- #endif
- /*
- TAPIERROR_FORMATMESSAGE - macro to convert a TAPI error constant
- into a constant that FormatMessage will accept
- TAPIERR : Negative numbers and 0
- Map to : strip off high WORD
- Example: 0xFFFFFFFF (-1) becomes 0x0000FFFF
- LINEERR : Start at 0x80000000
- Map to : strip off 0x80000000 and add 0xE000
- Example: 0x80000004 becomes 0x0000E004
- PHONEERR: Start at 0x90000000
- Map to : strip off 0x90000000 and add 0xF000
- Example: 0x9000000A becomes 0x0000F00A
- pseudocode:
- if (__ErrCode__ is a TAPIERR)
- strip off high word
- else if (__ErrCode__ is a PHONEERR)
- strip off 0x90000000
- add 0xE000
- else
- strip off 0x80000000
- add 0xF000
- */
- #define TAPIERROR_FORMATMESSAGE(__ErrCode__)
-
- ( ( (__ErrCode__) > 0xFFFF0000 ) ?
-
- ( (__ErrCode__) & 0x0000FFFF ) :
-
- ( ( (__ErrCode__) & 0x10000000 ) ?
-
- ( (__ErrCode__) - 0x90000000 + 0xF000 ) :
-
- ( (__ErrCode__) - 0x80000000 + 0xE000 ) ) )
- #ifdef __cplusplus
- } /* End of extern "C" { */
- #endif /* __cplusplus */
- #pragma pack()
- #endif // TAPI_H