大网数据广告活动
Windows 系统接口

SetIPXFrameTypeNetworkPairs method of the Win32_NetworkAdapterConfiguration class

· 52CE 我爱测

Sets the Internetworking Packet Exchange (IPX) network number/frame pairs for this network adapter.

Sets the Internetworking Packet Exchange (IPX) network number/frame pairs for this network adapter.

Windows 2000 and Windows NT 3.51 and higher use an IPX network number for routing purposes. It is assigned to each configured frame type/network adapter combination on your computer system. This number is sometimes referred to as the "external network number." It must be unique for each network segment. If the frame type is set to AUTO, the network number should to zero.

Syntax

uint32 SetIPXFrameTypeNetworkPairs(
  [in] string IPXNetworkNumber[],
  [in] uint32 IPXFrameType[]
);

Parameters

IPXNetworkNumber [in]

An array of characters that uniquely identify an adapter on the computer system. The NetWare Link (NWLink) IPX/SPX-compatible transport in Windows 2000 and Windows NT 3.51 or higher, uses two different types of network numbers. This number is sometimes referred to as the External Network Number. It must be unique for each network segment. The values in this string list must have a corresponding value in the IPXFrameType parameter identifying the packet frame type used for this network.

IPXFrameType [in]

An integer array of frame type identifiers. The values in this array correspond to the elements in the IPXNetworkNumber parameter.

Ethernet II (0)

Ethernet 802.3 (1)

Ethernet 802.2 (2)

Ethernet SNAP (3)

AUTO (255)

Return value

Successful completion, no reboot required (0)

Successful completion, reboot required (1)

Method not supported on this platform (64)

Unknown failure (65)

Invalid subnet mask (66)

An error occurred while processing an Instance that was returned (67)

Invalid input parameter (68)

More than 5 gateways specified (69)

Invalid IP address (70)

Invalid gateway IP address (71)

An error occurred while accessing the Registry for the requested information (72)

Invalid domain name (73)

Invalid host name (74)

No primary/secondary WINS server defined (75)

Invalid file (76)

Invalid system path (77)

File copy failed (78)

Invalid security parameter (79)

Unable to configure TCP/IP service (80)

Unable to configure DHCP service (81)

Unable to renew DHCP lease (82)

Unable to release DHCP lease (83)

IP not enabled on adapter (84)

IPX not enabled on adapter (85)

Frame/network number bounds error (86)

Invalid frame type (87)

Invalid network number (88)

Duplicate network number (89)

Parameter out of bounds (90)

Access denied (91)

Out of memory (92)

Already exists (93)

Path, file or object not found (94)

Unable to notify service (95)

Unable to notify DNS service (96)

Interface not configurable (97)

Not all DHCP leases could be released/renewed (98)

DHCP not enabled on adapter (100)

Other (101–4294967295)

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Namespace Root\CIMV2
MOF CimWin32.mof
DLL Cimwin32.dll

See also

Win32_NetworkAdapterConfiguration

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。