mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-24 06:01:02 +00:00
20
src/windows-emulator/devices/afd_endpoint.cpp
Normal file
20
src/windows-emulator/devices/afd_endpoint.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "afd_endpoint.hpp"
|
||||
|
||||
#include "windows-emulator/windows_emulator.hpp"
|
||||
|
||||
namespace
|
||||
{
|
||||
struct afd_endpoint : stateless_device
|
||||
{
|
||||
NTSTATUS io_control(const io_device_context& c) override
|
||||
{
|
||||
c.win_emu.logger.print(color::cyan, "AFD IOCTL: %X\n", c.io_control_code);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
std::unique_ptr<io_device> create_afd_endpoint()
|
||||
{
|
||||
return std::make_unique<afd_endpoint>();
|
||||
}
|
||||
Reference in New Issue
Block a user