NDIS_REQUEST_TYPE枚举 (ndis/oidtypes.h)

NDIS_REQUEST_TYPE枚举标识 OID 请求中的请求类型。

语法

typedef enum _NDIS_REQUEST_TYPE {
  NdisRequestQueryInformation,
  NdisRequestSetInformation,
  NdisRequestQueryStatistics,
  NdisRequestOpen,
  NdisRequestClose,
  NdisRequestSend,
  NdisRequestTransferData,
  NdisRequestReset,
  NdisRequestGeneric1,
  NdisRequestGeneric2,
  NdisRequestGeneric3,
  NdisRequestGeneric4,
  NdisRequestMethod
} NDIS_REQUEST_TYPE, *PNDIS_REQUEST_TYPE;

常数

 
NdisRequestQueryInformation
查询信息请求。 对于某些请求,NDIS 满足请求。 否则
NDIS 将此类请求转发到基础驱动程序的
MiniportOidRequest 函数。 这种类型的请求可以源自用户模式应用程序、筛选器模块或协议驱动程序。

注意, 驱动程序应将 NdisRequestQueryInformationNdisRequestQueryStatistics 查询视为相同的。

 
NdisRequestSetInformation
设置信息请求。 NDIS 将此类请求转发到基础驱动程序的
MiniportOidRequest 函数。
NdisRequestQueryStatistics
查询统计信息请求。 对于某些请求,NDIS 满足请求。 否则
NDIS 将此类请求转发到基础驱动程序的
MiniportOidRequest 函数。 这种类型的请求可以源自用户模式应用程序、筛选器模块或协议驱动程序。

注意, 驱动程序应将 NdisRequestQueryInformationNdisRequestQueryStatistics 查询视为相同的。

 
NdisRequestOpen
此类型已过时。
NdisRequestClose
此类型已过时。
NdisRequestSend
此类型已过时。
NdisRequestTransferData
此类型已过时。
NdisRequestReset
此类型已过时。
NdisRequestGeneric1
特定于微型端口驱动程序类型的请求。
NdisRequestGeneric2
特定于微型端口驱动程序类型的请求。
NdisRequestGeneric3
特定于微型端口驱动程序类型的请求。
NdisRequestGeneric4
特定于微型端口驱动程序类型的请求。
NdisRequestMethod
方法请求。 NDIS 将此类请求转发到基础驱动程序的
MiniportOidRequest 函数。

言论

NDIS_REQUEST_TYPE枚举用于 NDIS_OID_REQUEST 结构。

注释 对于任何NDIS_REQUEST_TYPE值,NDIS_OID_REQUEST结构的 Oid 成员中指定的OID_Xxx 必须与所请求的作类型兼容。
 

要求

要求 价值
最低支持的客户端 NDIS 6.0 及更高版本中受支持。
标头 ndis/oidtypes.h (include ndis.h)

另请参阅

MiniportOidRequest

NDIS_OID_REQUEST