lineGetCurrentSystemType

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

Syntax

HRESULT lineGetCurrentSystemType (
  HLINE hLine,
  LPDWORD lpdwCurrentSystemType
);

Parameters

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

Return Values

Returns zero if the function 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 Decscription
LINESYSTEMTYPE_NONE CDMA 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)

Requirements

Pocket PC Platforms: Pocket PC 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: extapi.h
Library: cellcore.lib

See Also

lineSetCurrentAddressID

lineGetCurrentHSCSDStatus

lineGetCurrentOperator

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.