Re: 回复: [edk2-discuss] Refresh currently displayed form
BootManager elements are generated dynamically. There are no questions or actions to attach a refresh interval or refreshguid to. I don't believe a refresh interval would produce the behavior I want; that is, to update *as soon as* an event (plugging/pulling a USB drive) happens.
But after looking at ANTLR syntax (BaseTools/Source/C/VfrCompile/VfrSyntax.g) I found that refreshguid can be used at the form level. This was added some time ago , but is not in the VFR specification . Using this with CreateEventEx(), with refreshguid and EventGroup being the same GUID, produces the behavior I want.