大网数据广告活动
Windows 系统接口

IVmFiovGuestMemoryFastNotification::RegisterDoorbell method

· 52CE 我爱测

Triggers an event when a guest physical address is accessed.

Triggers an event when a guest physical address is accessed.

Syntax

HRESULT RegisterDoorbell(
  [in] FIOV_BAR_SELECTOR BarIndex,
  [in] UINT64 BarOffset,
  [in] UINT64 TriggerValue,
  [in] UINT64 Flags,
  [in, system_handle(sh_event)] HANDLE NotificationEvent
);

Parameters

BarIndex [in]

The index of the BAR containing the page to register.

BarOffset [in]

The page within the BAR to register.

TriggerValue [in]

The specific value that will trigger the doorbell.

Flags [in]

Doorbell notification flags.

NotificationEvent [in]

The event to be signaled as a doorbell.

Return value

An HRESULT.

Remarks

The FIOV_BAR_SELECTOR enumeration that provides values for the BarIndex has the following definition:

    typedef enum
    {
        FIOV_BAR0 = 0,
        FIOV_BAR1,
        FIOV_BAR2,
        FIOV_BAR3,
        FIOV_BAR4,
        FIOV_BAR5

    } FIOV_BAR_SELECTOR;

Requirements

Requirement Value
Header N/A

See also

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 02/08/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。