windows-nt/Source/XPSP1/NT/shell/ext/hnw/wizard/netapi.h

20 lines
421 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//
// 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();