MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

lineGetCurrentSystemType

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


HRESULT lineGetCurrentSystemType (
  HLINE hLine,
  LPDWORD lpdwCurrentSystemType
);

hLine

[in] The line device handle.

lpdwCurrentSystemType

[out] Reference to the system type. For more information, see Remarks.

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

The following table contains details about the Line System Types.

Constant Protocol Value Decscription

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, CDMA, UMTS, HSDPA

0x00000020

LINESYSTEMTYPE_1XEVDOPACKET

GSM, CDMA, UMTS, HSDPA

0x00000040

LINESYSTEMTYPE_1XEVDVPACKET

GSM, CDMA, UMTS, HSDPA

0x00000080

LINESYSTEMTYPE_UMTS

GSM, CDMA, UMTS, HSDPA

0x00000100

LINESYSTEMTYPE_HSDPA

GSM, CDMA, UMTS, HSDPA

0x00000200

Headerextapi.h
Librarycellcore.lib
Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobilePocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

Community Additions

Show:
© 2016 Microsoft