NDIS_CONFIGURATION_PARAMETER 구조에는 레지스트리에 명명된 항목의 데이터와 형식이 포함됩니다.
Syntax
typedef struct _NDIS_CONFIGURATION_PARAMETER {
NDIS_PARAMETER_TYPE ParameterType;
union {
ULONG IntegerData;
NDIS_STRING StringData;
BINARY_DATA BinaryData;
} 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
지정된 명명된 항목의 값을 포함하는 공용 구조체입니다. ParameterType이 문자열 형식인 경우 이 멤버는 시스템 기본 문자 집합에서 계산된 문자열을 설명하는 NDIS_STRING 형식입니다. Microsoft Windows 2000 이상 드라이버의 경우 이러한 문자열에는 유니코드 문자가 포함됩니다. That is, for Windows 2000 and later, NDIS defines the NDIS_STRING type as a UNICODE_STRING type.
이 공용 구조체에는 다음 멤버가 포함됩니다.
ParameterData.IntegerData
A ULONG value that is used when the ParameterType member is set to NdisParameterInteger or NdisParameterHexInteger.
ParameterData.StringData
An NDIS_STRING value that is used when the ParameterType member is set to NdisParameterString or NdisParameterMultiString.
ParameterData.BinaryData
A BINARY_DATA structure that is used when the ParameterType member is set to NdisParameterBinary.
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
| Requirement | Value |
|---|---|
| 지원되는 최소 클라이언트 | Windows Vista에서 NDIS 6.0 및 NDIS 5.1 드라이버에 대해 지원됩니다. Windows XP에서 NDIS 5.1 드라이버에 대해 지원됩니다. |
| Header | configurationparameter.h(ndis.h 포함) |