VOID VideoPortFreeDeviceBase(
PVOID HwDeviceExtension, | |
PVOID MappedAddress | |
); |
VideoPortFreeDeviceBase frees a range of bus-relative device I/O ports or memory addresses previously mapped into the system address space by calling VideoPortGetDeviceBase.
VideoPortFreeDeviceBase must be called from the miniport’s HwVidFindAdapter function if the miniport has already mapped an address range for an adapter it cannot support or does not use any longer.
When this occurs, the miniport also must release its claim on the corresponding hardware resources in the registry. To release all claims on resources for a particular adapter, call VideoPortVerifyAccessRanges or VideoPortGetAccessRanges with the NumAccessRanges parameter set to zero. To release claims on selected access ranges, do the following:
HwVidFindAdapter, VideoPortGetAccessRanges, VideoPortGetDeviceBase, VideoPortVerifyAccessRanges