具有 Unicode 的函式 (W) 版本

下列 TAPI 函式會在 Unicode (W) 和 ANSI (A) 版本中實作。 一般而言,ANSI 版本的實作會呼叫 Unicode 版本,並在 Unicode 中執行 ANSI 參數和結構字段的必要轉換;下表指出已轉換的參數。

明確呼叫泛型 (W“ 或 ”A“ 後置詞) 版本的函式的應用程式會執行 ANSI 版本,以便與舊版 TAPI 相容。

注意

整個電話語音服務提供者介面 (TSPI) 是 2.0 版的 Unicode。

下表列出 TAPI 結構中字串欄位的參考,其中包含部分功能變數名稱。 例如,LINEFORWARD 結構中的 「Caller Address」 是由 dwCallerAddressOffset 字段所指向,並以 dwCallerAddressSize 欄位分隔;在數據表中,此字串只會識別為 CallerAddress。

TAPI 函式 函式 ANSI 版本中轉換的參數和結構欄位
lineAddProvider lpszProviderName
lineBlindTransfer lpszDestAddress
lineConfigDialog lpszDeviceClass
lineConfigDialogEdit lpszDeviceClass附注:如果直接操作,應用程式必須處理 lpDeviceConfigIn 和 lpDeviceConfigOut 中的字串轉換。
lineDial lpszDestAddress
lineForward lpForwardList (LINEFORWARDLIST)
  • ForwardList ( LINEFORWARD)
    • CallerAddress
    • DestAddress
lpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
lineGatherDigits lpsDigitslpszTerminationDigits
lineGenerateDigits lpszDigits
lineGetAddressCaps lpAddressCaps (LINEADDRESSCAPS)
lineGetAddressID lpsAddress
lineGetAddressStatus lpAddressStatus (LINEADDRESSSTATUS)
lineGetAgentActivityList lpAgentActivityList (LINEAGENTACTIVITYLIST)
lineGetAgentCaps lpAgentCaps (LINEAGENTCAPS)
  • AgentHandlerInfo
lineGetAgentGroupList lpAgentGroupListI(LINEAGENTGROUPLIST)
lineGetAgentStatus lpAgentStatus (LINEAGENTSTATUS)
lineGetAppPriority lpszAppFilenamelpExtensionName
lineGetCallInfo lpCallInfo (LINECALLINFO)
  • CallerID
  • CallerIDName
  • CalledID
  • CalledIDName
  • ConnectID
  • ConnectedIDName
  • RedirectionID
  • RedirectionIDName
  • RedirectingID
  • RedirectingIDName
  • AppName
  • DisplayableAddress
  • CalledParty
  • 註解
lineGetCountry lpLineCountryList (LINECOUNTRYLIST)
  • CountryList ( LINECOUNTRYENTRY)
  • CountryName
  • SameAreaRule
  • LongDistanceRule
  • InternationalRule
lineGetDevCaps lpLineDevCaps (LINEDEVCAPS)
- ProviderInfo
- SwitchInfo
- LineName
- TerminalText
- DeviceClasses
注意:dwStringFormat 已過時。
LineGetDevConfig lpszDeviceClass附注:如果直接操作這些字串串,應用程式必須處理 lpDeviceConfig 中的字串轉換。
LineGetIcon lpszDeviceClass
lineGetID lpszDeviceClass附註:如果直接操作字串,應用程式必須處理 lpDeviceID 中的字串轉換。
LineGetLineDevStatus lpLineDevStatus (LINEDEVSTATUS)
  • AppInfo (LINEAPPINFO)
  • MachineName
  • UserName
  • ModuleFilename
  • FriendlyName
lineGetProviderList lpProviderList (LINEPROVIDERLIST)
lineGetRequest lpRequestBuffer ( LINEREQMAKECALL
  • szDestAddress
  • szAppName
  • szCalledParty
  • szComment
lineGetTranslateCaps lpTranslateCaps (LINETRANSLATECAPS)
  • CardList ( LINECARDENTRY)
  • CardName
  • SameAreaRule
  • LongDistanceRule
  • InternationalRule
  • LocationList ( LINELOCATIONENTRY
  • LocationName
  • CityCode
  • LocalAccessCode
  • LongDistanceAccessCode
  • TollPrefixList
  • celCallWaiting
lineHandoff lpszFileName
lineInitializeEx lpszFriendlyAppName
lineMakeCall lpszDestAddresslpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
lineOpen lpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
linePark lpszDirAddresslpNonDirAddress (VARSTRING)
  • String
linePickup lpszDestAddresslpszGroupID
linePrepareAddToConference lpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
lineRedirect lpszDestAddress
lineSetAppPriority lpszAppFilenamelpszExtensionName
lineSetDevConfig lpszDeviceClass附注:如果直接操作這些字串串,應用程式必須處理 lpDeviceConfig 中的字串轉換。
lineSetTollList lpszAddressIn
lineSetupConference lpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
lineSetupTransfer lpCallParams (LINECALLPARAMS)
  • OrigAddress
  • DisplayableAddress
  • CalledParty
  • 註解
  • TargetAddress
  • DeviceClass
  • CallingPartyID
lineTranslateAddress lpszAddressInlpTranslateOutput (LINETRANSLATEOUTPUT)
  • DialableString
  • DisplayableString
lineTranslateDialog lpszAddressIn
lineUnpark lpszDestAddress
phoneConfigDialog lpszDeviceClass
phoneGetButtonInfo lpButtonInfo (PHONEBUTTONINFO)
  • ButtonText
phoneGetDevCaps lpPhoneCaps (PHONECAPS)
- ProviderInfo
- PhoneInfo
- PhoneName
- 裝置類別
注意:dwStringFormat 已過時。
phoneGetIcon lpszDeviceClass
phoneGetID lpszDeviceClass附註:如果直接操作字串,應用程式必須處理 lpDeviceID 中的字串轉換。
phoneGetStatus lpPhoneStatus (PHONESTATUS)
  • OwnerName
phoneInitializeEx lpszFriendlyAppName
phoneSetButtonInfo lpButtonInfo (PHONEBUTTONINFO)
  • ButtonTest
tapiGetLocationInfo lpszCountryCodelpszCityCode
tapiRequestMakeCall lpszDestAddresslpszAppName
lpszCalledParty
lpszComment