NDIS_PARAMETER_TYPE (Windows Embedded CE 6.0)
1/6/2010
This enumeration specifies possible data types.
Syntax
typedef enum _NDIS_PARAMETER_TYPE {
NdisParameterInteger,
NdisParameterHexInteger,
NdisParameterString,
NdisParameterMultiString,
NdisParameterBinary,
} NDIS_PARAMETER_TYPE, *PNDIS_PARAMETER_TYPE;
Elements
- NdisParameterInteger
Specifies an integer in decimal notation.
- NdisParameterHexInteger
Specifies an integer in hexadecimal notation.
- NdisParameterString
Specifies a string of type NDIS_STRING. For Microsoft® Windows® 2000 and later drivers, this is a counted Unicode string.
- NdisParameterMultiString
Specifies a multistring parameter of the REG_MULTI_SZ type.
- NdisParameterBinary
Specifies a binary parameter.
Remarks
Every NDIS driver can set up configuration information in the registry for itself under the driver's Parameters key using an installation script. For example, a protocol driver might store its own name as an entry with a preformatted string value that can be passed in calls to NdisRegisterProtocol.
Each NIC driver also has associated value entries under the driver's Parameters registry key. The value entries for any particular NIC driver can be device-dependent in nature. For example, an Ethernet NIC driver might have keywords such as InterruptNumber, SharedMemoryAddress, and MulticastListSize. The value associated with such an NDIS keyword can be either an integer (ULONG-type) or a string (NDIS_STRING-type). For example, the set of possible values for the already mentioned InterruptNumber entry might be NdisParameterInteger values 2, 3, 4, or 5, or the equivalents in hexadecimal as NdisParameterHexInteger values.
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Network Driver Enumerations
NdisReadConfiguration
NdisWriteConfiguration
NdisRegisterProtocol
NDIS_CONFIGURATION_PARAMETER