On Windows the host's guest RAM is a view of a pagefile-backed section and
QEMU's EventNotifier is a manual-reset event, so the two items that take the
host's OS handles get a form of Windows's own, under #if defined(_WIN32)
(cbindgen's [defines] maps cfg(windows) to it):
- RvgMemoryRangeFile is {void *handle; uint32_t flags; uint64_t offset;}, 24
bytes; the create checks that a view the library may write maps the range's
bytes from offset (MapViewOfFile, unmapped at once) and duplicates the
handle (memory/windows.rs, with its tests);
- rvg_graphics_device_set_doorbell takes the event's handle.
A Windows device makes no bell, so it is handed neither route function.
Linux and macOS keep their forms and checks, under #if !defined(_WIN32); the
header's text changes there only by those guards and docs, and nothing the
guest or the host sees changes.