WHV_EMULATOR_IO_PORT_CALLBACK
Syntax
typedef HRESULT (CALLBACK *WHV_EMULATOR_IO_PORT_CALLBACK)(
_In_ VOID* Context,
_Inout_ WHV_EMULATOR_IO_ACCESS_INFO* IoAccess
);
Return Value
The callback should return S_OK
on success, and some error value on failure. Any error value returned here will terminate emulation and return from the corresponding emulation call.
Remarks
Callback notifying the virtualization stack that the current instruction has modified the IO Port specified in the IoAccess structure. Context is the value specified in the emulation call which identifies this current instance of the emulation.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for