Win32_NetworkAdapterConfiguration不是API? ( 积分: 100 )

  • 主题发起人 chinabjz
  • 开始时间
C

chinabjz

Unregistered / Unconfirmed
GUEST, unregistred user!
[:(][:(]找了老半天资料,找不到关于Win32_NetworkAdapterConfiguration这个函数在Delphi下的使用方法。,这个不是一个API吗?,还是要通过其他手段来调用?,各位高手不要因为太简单而不与理睬,就当给自己练练手,最好能附上一个简单的代码,小弟不胜感激。
 
[:(][:(]找了老半天资料,找不到关于Win32_NetworkAdapterConfiguration这个函数在Delphi下的使用方法。,这个不是一个API吗?,还是要通过其他手段来调用?,各位高手不要因为太简单而不与理睬,就当给自己练练手,最好能附上一个简单的代码,小弟不胜感激。
 
Win32_NetworkAdapterConfiguration是一个类,不是一个简单的函数.
它的定义如下:
class Win32_NetworkAdapterConfiguration : CIM_Setting
{
boolean ArpAlwaysSourceRoute;
boolean ArpUseEtherSNAP;
string Caption;
string DatabasePath;
boolean DeadGWDetectEnabled;
string DefaultIPGateway[];
uint8 DefaultTOS;
uint8 DefaultTTL;
string Description;
boolean DHCPEnabled;
datetime DHCPLeaseExpires;
datetime DHCPLeaseObtained;
string DHCPServer;
string DNSDomain;
string DNSDomainSuffixSearchOrder[];
boolean DNSEnabledForWINSResolution;
string DNSHostName;
string DNSServerSearchOrder[];
boolean DomainDNSRegistrationEnabled;
uint32 ForwardBufferMemory;
boolean FullDNSRegistrationEnabled;
uint16 GatewayCostMetric[];
uint8 IGMPLevel;
uint32 Index;
uint32 InterfaceIndex;
string IPAddress[];
uint32 IPConnectionMetric;
boolean IPEnabled;
boolean IPFilterSecurityEnabled;
boolean IPPortSecurityEnabled;
string IPSecPermitIPProtocols[];
string IPSecPermitTCPPorts[];
string IPSecPermitUDPPorts[];
string IPSubnet[];
boolean IPUseZeroBroadcast;
string IPXAddress;
boolean IPXEnabled;
uint32 IPXFrameType[];
uint32 IPXMediaType;
string IPXNetworkNumber[];
string IPXVirtualNetNumber;
uint32 KeepAliveInterval;
uint32 KeepAliveTime;
string MACAddress;
uint32 MTU;
uint32 NumForwardPackets;
boolean PMTUBHDetectEnabled;
boolean PMTUDiscoveryEnabled;
string ServiceName;
string SettingID;
uint32 TcpipNetbiosOptions;
uint32 TcpMaxConnectRetransmissions;
uint32 TcpMaxDataRetransmissions;
uint32 TcpNumConnections;
boolean TcpUseRFC1122UrgentPointer;
uint16 TcpWindowSize;
boolean WINSEnableLMHostsLookup;
string WINSHostLookupFile;
string WINSPrimaryServer;
string WINSScopeID;
string WINSSecondaryServer;
};

在Cimwin32.dll中,继承自CIM_Setting
 
顶部