Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
440 B

//
// NetApi.h
//
#pragma once
// Forward declarations
typedef struct tagNETADAPTER NETADAPTER;
// Constants for CountValidNics()
#define COUNT_NICS_WORKING 0x00000001
#define COUNT_NICS_BROKEN 0x00000002
#define COUNT_NICS_DISABLED 0x00000004
// Cached NIC enumeration to avoid querying the registry a billion times
int EnumCachedNetAdapters(const NETADAPTER** pprgAdapters);
void FlushNetAdapterCache();