Process Hacker
ndis.c File Reference
#include "main.h"

Go to the source code of this file.

Functions

BOOLEAN NetworkAdapterQuerySupported (_In_ HANDLE DeviceHandle)
 
BOOLEAN NetworkAdapterQueryNdisVersion (_In_ HANDLE DeviceHandle, _Out_opt_ PUINT MajorVersion, _Out_opt_ PUINT MinorVersion)
 
PPH_STRING NetworkAdapterQueryName (_Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT Context)
 
NTSTATUS NetworkAdapterQueryStatistics (_In_ HANDLE DeviceHandle, _Out_ PNDIS_STATISTICS_INFO Info)
 
NTSTATUS NetworkAdapterQueryLinkState (_In_ HANDLE DeviceHandle, _Out_ PNDIS_LINK_STATE State)
 
BOOLEAN NetworkAdapterQueryMediaType (_In_ HANDLE DeviceHandle, _Out_ PNDIS_PHYSICAL_MEDIUM Medium)
 
NTSTATUS NetworkAdapterQueryLinkSpeed (_In_ HANDLE DeviceHandle, _Out_ PULONG64 LinkSpeed)
 
ULONG64 NetworkAdapterQueryValue (_In_ HANDLE DeviceHandle, _In_ NDIS_OID OpCode)
 
MIB_IF_ROW2 QueryInterfaceRowVista (_Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT Context)
 
MIB_IFROW QueryInterfaceRowXP (_Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT Context)
 

Variables

HMODULE IphlpHandle = NULL
 
_GetIfEntry2 GetIfEntry2_I = NULL
 
_GetInterfaceDescriptionFromGuid GetInterfaceDescriptionFromGuid_I = NULL
 

Function Documentation

NTSTATUS NetworkAdapterQueryLinkSpeed ( _In_ HANDLE  DeviceHandle,
_Out_ PULONG64  LinkSpeed 
)

Definition at line 327 of file ndis.c.

NTSTATUS NetworkAdapterQueryLinkState ( _In_ HANDLE  DeviceHandle,
_Out_ PNDIS_LINK_STATE  State 
)

Definition at line 230 of file ndis.c.

BOOLEAN NetworkAdapterQueryMediaType ( _In_ HANDLE  DeviceHandle,
_Out_ PNDIS_PHYSICAL_MEDIUM  Medium 
)

Definition at line 266 of file ndis.c.

PPH_STRING NetworkAdapterQueryName ( _Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT  Context)

Definition at line 142 of file ndis.c.

BOOLEAN NetworkAdapterQueryNdisVersion ( _In_ HANDLE  DeviceHandle,
_Out_opt_ PUINT  MajorVersion,
_Out_opt_ PUINT  MinorVersion 
)

Definition at line 100 of file ndis.c.

NTSTATUS NetworkAdapterQueryStatistics ( _In_ HANDLE  DeviceHandle,
_Out_ PNDIS_STATISTICS_INFO  Info 
)

Definition at line 194 of file ndis.c.

BOOLEAN NetworkAdapterQuerySupported ( _In_ HANDLE  DeviceHandle)

Definition at line 29 of file ndis.c.

ULONG64 NetworkAdapterQueryValue ( _In_ HANDLE  DeviceHandle,
_In_ NDIS_OID  OpCode 
)

Definition at line 360 of file ndis.c.

MIB_IF_ROW2 QueryInterfaceRowVista ( _Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT  Context)

Definition at line 387 of file ndis.c.

MIB_IFROW QueryInterfaceRowXP ( _Inout_ PPH_NETADAPTER_SYSINFO_CONTEXT  Context)

Definition at line 413 of file ndis.c.

Variable Documentation

_GetIfEntry2 GetIfEntry2_I = NULL

Definition at line 26 of file ndis.c.

_GetInterfaceDescriptionFromGuid GetInterfaceDescriptionFromGuid_I = NULL

Definition at line 27 of file ndis.c.

HMODULE IphlpHandle = NULL

Definition at line 25 of file ndis.c.