Partager via


General Object Identifiers

The following table shows the general object identifiers with a description of the purpose of each.

Programming element Description
OID_GEN_CURRENT_LOOKAHEAD This object specifies the number of bytes of received packet data that will be indicated to the protocol driver.
OID_GEN_CURRENT_PACKET_FILTER This object specifies the types of net packets for which a protocol receives indications from a NIC driver.
OID_GEN_DRIVER_VERSION OID_GEN_DRIVER_VERSION specifies the NDIS version in use by the NIC driver.
OID_GEN_HARDWARE_STATUS This object identifier returns the status of the underlying NIC hardware.
OID_GEN_LINK_SPEED This object specifies the maximum speed of the NIC in kbps.
OID_GEN_MAC_OPTIONS OID_GEN_MAC_OPTIONS specifies a bitmask that defines optional properties of the underlying driver or its NIC.
OID_GEN_MAXIMUM_FRAME_SIZE This object specifies the maximum network packet size, in bytes, that the NIC supports.
OID_GEN_MAXIMUM_LOOKAHEAD OID_GEN_MAXIMUM_LOOKAHEAD specifies the maximum number of bytes that the NIC can provide as lookahead data.
OID_GEN_MAXIMUM_SEND_PACKETS This object specifies the maximum number of send packets the MiniportSendPackets function can accept.
OID_GEN_MAXIMUM_TOTAL_SIZE OID_GEN_MAXIMUM_TOTAL_SIZE specifies the maximum total packet length, in bytes, the NIC supports. This specification includes the header.
OID_GEN_MEDIA_CONNECT_STATUS OID_GEN_MEDIA_CONNECT_STATUS requests the miniport to return the connection status of the NIC on the network as one of the following system-defined values: NdisMediaStateConnected or NdisMediaStateDisconnected.
OID_GEN_MEDIA_IN_USE OID_GEN_MEDIA_IN_USE specifies a complete list of the media types that the NIC currently uses.
OID_GEN_MEDIA_SUPPORTED OID_GEN_MEDIA_SUPPORTED specifies the media types that the NIC can support, but not necessarily the media types that the NIC currently uses.
OID_GEN_NETWORK_LAYER_ADDRESSES This object notifies underlying miniport and other layered drivers about the list of network-layer addresses that are associated with bound instances.
OID_GEN_PHYSICAL_MEDIUM This object specifies the types of physical media that the NIC supports.
OID_GEN_PROTOCOL_OPTIONS OID_GEN_PROTOCOL_OPTIONS specifies a bitmask that defines optional properties of the protocol driver. If the protocol driver does not set its flags on a binding, NDIS assumes they are all clear.
OID_GEN_RECEIVE_BLOCK_SIZE This object specifies the amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC.
OID_GEN_RECEIVE_BUFFER_SPACE This object specifies the amount of memory on the NIC that is available for buffering receive data.
OID_GEN_SUPPORTED_LIST OID_GEN_SUPPORTED_LIST specifies an array of object identifiers for objects that the underlying driver or its NIC supports.
OID_GEN_TRANSMIT_BLOCK_SIZE This object specifies the minimum number of bytes that a single net packet occupies in the transmit buffer space of the NIC.
OID_GEN_TRANSMIT_BUFFER_SPACE This object specifies the amount of memory, in bytes, available on the NIC for buffering transmit data.
OID_GEN_TRANSPORT_HEADER_OFFSET This object indicates the size of additional headers for packets that a particular transport sends and receives.
OID_GEN_VENDOR_DESCRIPTION This object points to a zero-terminated, counted string describing the NIC.
OID_GEN_VENDOR_ID This object specifies a three-byte IEEE-registered vendor code, followed by a single byte that the vendor assigns to identify a particular NIC.

See Also

Network Driver Object Identifiers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.