Modem structures, Otcfgmodemgeneral, Details, see – Apple Network Setup User Manual

Page 141: Modem structures 4

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Structures

141

field, accept either value. When writing the

version

field,

set it to

kOTCfgRemoteDefaultVersion

.

fType

Must be zero for standard dial-up connections.

additionalPtr

Must be zero for standard dial-up connections.

script

Must be zero for standard dial-up connections.

address

Must be zero for standard dial-up connections.

userName

Must be zero for standard dial-up connections.

closedUserGroup

Must be zero for standard dial-up connections.

reverseCharge

Must be zero for standard dial-up connections.

The preference type for this preference is

kOTCfgRemoteX25Pref

, which is defined

as

'x25 '

.

IMPORTANT

Using Network Setup to configure X.25 connections is not
supported.

▲

Modem Structures

4

This section describes structures that store Modem control panel settings. The
structures are

■

OTCfgModemGeneral

(page 141) stores per-connection modem preferences.

■

OTCfgModemApplication

(page 142) stores the current user mode setting and

the window position of the Modem control panel.

■

OTCfgModemLocks

(page 143) stores the lock settings for the Modem control

panel.

OTCfgModemGeneral

4

The

OTCfgModemGeneral

structure stores most of the per-connection modem

preferences.

struct OTCfgModemGeneral

{

UInt32

version;

Boolean

useModemScript;

Advertising