Edit

Share via


HdvDestroySectionBackedMmioRange

Description

Unmaps a section previously mapped via HdvCreateSectionBackedMmioRange. The caller is responsible for pausing and unpausing the guest around this call if an atomic update of device space is required.

Syntax

HRESULT
HdvDestroySectionBackedMmioRange(
    _In_     HDV_DEVICE             Requestor,
    _In_     HDV_PCI_BAR_SELECTOR   BarIndex,
    _In_     UINT64                 OffsetInPages,
    );

Parameters

Parameter Description
Requestor Handle to the device requesting the MMIO section mapping.
BarIndex The index of the BAR containing MMIO space.
OffsetInPages The offset within the BAR to the first page to be mapped.

Return Values

Return Value Description
S_OK Returned if function succeeds.
HRESULT An error code is returned if the function fails.

Requirements

Parameter Description
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Library ComputeCore.lib
Dll ComputeCore.dll