Source code of Windows XP (NT5)
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
421 B

  1. //
  2. // NetApi.h
  3. //
  4. #pragma once
  5. // Forward declarations
  6. typedef struct tagNETADAPTER NETADAPTER;
  7. // Constants for CountValidNics()
  8. #define COUNT_NICS_WORKING 0x00000001
  9. #define COUNT_NICS_BROKEN 0x00000002
  10. #define COUNT_NICS_DISABLED 0x00000004
  11. // Cached NIC enumeration to avoid querying the registry a billion times
  12. int EnumCachedNetAdapters(const NETADAPTER** pprgAdapters);
  13. void FlushNetAdapterCache();