6 int main( int argc
, char **argv
) {
8 PFIXED_INFO pFixedInfo
;
11 GetNetworkParams(NULL
, &OutBufLen
);
12 pFixedInfo
= malloc(OutBufLen
);
14 printf( "Failed to alloc %d bytes.\n", (int)OutBufLen
);
18 printf( "%d Bytes allocated\n", (int)OutBufLen
);
20 GetNetworkParams(pFixedInfo
,&OutBufLen
);
22 for( Addr
= &pFixedInfo
->DnsServerList
;
26 Addr
== pFixedInfo
->CurrentDnsServer
? '*' : ' ',
27 Addr
->IpAddress
.String
);