次の方法で共有


LINEGENERALINFO (Compact 2013)

3/26/2014

The LINEGENERALINFO structure holds miscellaneous information about the device and its software. This structure is used with lineGetGeneralInfo calls.

Syntax

typedef struct linegeneralinfo_tag {
  DWORD dwTotalSize;
  DWORD dwNeededSize;
  DWORD dwUsedSize;
  DWORD dwManufacturerSize;
  DWORD dwManufacturerOffset;
  DWORD dwModelSize;
  DWORD dwModelOffset;
  DWORD dwRevisionSize;
  DWORD dwRevisionOffset;
  DWORD dwSerialNumberSize;
  DWORD dwSerialNumberOffset;
  DWORD dwSubscriberNumberSize;
  DWORD dwSubscriberNumberOffset;
} LINEGENERALINFO, * LPLINEGENERALINFO;

Members

  • dwTotalSize
    The total size in bytes allocated to this data structure.
  • dwNeededSize
    The size in bytes for this data structure that is needed to hold all of the returned information.
  • dwUsedSize
    The size in bytes of the portion of this data structure that contains useful information.
  • dwManufacturerSize
    The size in bytes from the beginning of the structure of the Unicode manufacturer name.
  • dwManufacturerOffset
    The offset from the beginning of the structure of the Unicode manufacturer name. This value indicates the maker of the underlying radio.
  • dwModelSize
    The size in bytes from the beginning of the structure of the Unicode model name.
  • dwModelOffset
    The offset from the beginning of the structure of the Unicode model name. This value indicates the model of the underlying radio.
  • dwRevisionSize
    The size in bytes from the beginning of the structure of the Unicode revision name.
  • dwRevisionOffset
    The offset from the beginning of the structure of the Unicode revision name. This value indicates the software version of the radio stack.
  • dwSerialNumberSize
    The size in bytes from the beginning of the structure of the Unicode serial number.
  • dwSerialNumberOffset
    The offset from the beginning of the structure of the Unicode serial number. For GSM devices, the serial number returned is the equipment identity International Mobile Equipment Identity (IMEI) code. For CDMA devices, the serial number returned is the Electronic Serial Number (ESN), represented as an eight digit hexadecimal string.
  • dwSubscriberNumberSize
    The size in bytes from the beginning of the structure of the Unicode serial number.
  • dwSubscriberNumberOffset
    The offset from the beginning of the structure of the Unicode serial number. This value indicates the Unicode subscriber number.

Requirements

Header

extapi.h

See Also

Reference

Extended TAPI Structures
lineGetGeneralInfo