![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function releases a mapping that was set up with the NdisMRegisterIoPortRangefunction during driver initialization.
VOID NdisMDeregisterIoPortRange( IN NDIS_HANDLE MiniportAdapterHandle , IN UINT InitialPort , IN UINT NumberOfPorts , IN PVOID PortOffset );
Parameters
Remarks
The miniport must pass the same InitialPortand NumberOfPortsparameters to this function that were passed when the MiniportInitializefunction called the NdisMRegisterIoPortRangefunction to get the mapped PortOffsetvalue. That is, a miniport cannot call this function to release a subrange of a mapped port range.
This function can be called from the MiniportInitializeor the MiniportHaltfunction only if MiniportInitializepreviously made a successful call to the NdisMRegisterIoPortRangefunction.
This function also releases the driver's claim on the I/O port range in the registry.
After it calls NdisMRegisterIoPortRange, the miniport can no longer access the NIC's port range with calls to the NdisRaw XXXPort XXXfunctions.
A driver that calls this function runs at IRQL PASSIVE_LEVEL.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Ndis.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004