Share via


lineGetCurrentSystemType (Compact 2013)

3/26/2014

Use the lineGetCurrentSystemType function to obtain the current line system type.

Syntax

HRESULT lineGetCurrentSystemType (
  HLINE hLine,
  LPDWORD lpdwCurrentSystemType
);

Parameters

  • hLine
    [in] The line device handle.
  • lpdwCurrentSystemType
    [out] Reference to the system type. For more information, see Remarks.

Return Value

Returns zero if the function is completed successfully, or a negative error number if an error occurred. The following are possible error return values:

  • LINEERR_RESOURCEUNAVAIL
  • LINEERR_INVALLINEHANDLE
  • LINEERR_STRUCTURETOOSMALL
  • LINEERR_INVALPOINTER
  • LINEERR_UNINITIALIZED
  • LINEERR_NOMEM
  • LINEERR_OPERATIONUNAVAIL
  • LINEERR_OPERATIONFAILED

Remarks

The following table contains details about the Line System Types.

Constant

Protocol

Value

Description

LINESYSTEMTYPE_NONE

None

0x00000000

No air interface standard

LINESYSTEMTYPE_IS95A

CDMA

0x00000001

IS95A air interface standard

LINESYSTEMTYPE_IS95B

CDMA

0x00000002

IS95B air interface standard

LINESYSTEMTYPE_1XRTTPACKET

CDMA

0x00000004

1XRTTPACKET one-carrier radio-transmission technology

LINESYSTEMTYPE_GSM

GSM

0x00000008

Global System for Mobile Communications (GSM)

LINESYSTEMTYPE_GPRS

GSM

0x00000010

General Packet Radio Service (GPRS)

LINESYSTEMTYPE_EDGE

GSM

0x00000020

Enhanced Data rates for GSM Evolution (EDGE)

LINESYSTEMTYPE_1XEVDOPACKET

CDMA

0x00000040

Evolution-Data Optimized

LINESYSTEMTYPE_1XEVDVPACKET

CDMA

0x00000080

CDMA2000 EV-DV (Evolution-Data/Voice)

LINESYSTEMTYPE_UMTS

UMTS

0x00000100

Universal Mobile Telecommunications System

LINESYSTEMTYPE_HSDPA

HSDPA

0x00000200

High-Speed Downlink Packet Access (HSDPA)

Requirements

Header

extapi.h

Library

cellcore.lib

See Also

Reference

Extended TAPI Functions
lineSetCurrentAddressID
lineGetCurrentHSCSDStatus
lineGetCurrentOperator