Share via


NDIS_CONFIGURATION_PARAMETER (Compact 2013)

3/26/2014

This structure contains the data and type of a named entry in the registry.

Syntax

typedef struct _NDIS_CONFIGURATION_PARAMETER {
  NDIS_PARAMETER_TYPE ParameterType;
  union {
    ULONG IntegerData;
    NDIS_STRING StringData;
  } ParameterData;
} NDIS_CONFIGURATION_PARAMETER, *PNDIS_CONFIGURATION_PARAMETER;

Members

  • ParameterType
    The type of the parameter specified as one of the NDIS_PARAMETER_TYPE enumeration values.

    For successful calls to the NdisReadConfiguration function, the ParameterType value matches the value at the ParameterType parameter. However, when the ParameterType parameter is NdisParameterHexInteger, the resulting ParameterType member value is NdisParameterInteger.

  • ParameterData
    The value of the given named entry. If ParameterType is a string type, this member is an NDIS_STRING type that describes a counted string in the system-default character set.

Remarks

To read parameters in the registry, an NDIS driver can call the NdisReadConfiguration function. If the call is successful, NDIS returns a pointer to an NDIS_CONFIGURATION_PARAMETER structure at the ParameterValue parameter of NdisReadConfiguration.

To write parameters to the registry, an NDIS driver can call the NdisWriteConfiguration function. In this case, the driver initializes an NDIS_CONFIGURATION_PARAMETER structure and passes it at the ParameterValue parameter of NdisWriteConfiguration.

Requirements

Header

ndis.h

See Also

Reference

NDIS Configuration Interface
NDIS_PARAMETER_TYPE
NdisReadConfiguration
NdisWriteConfiguration