[porthole] updated windows driver defines

This commit is contained in:
Geoffrey McRae 2019-11-12 13:08:37 +11:00
parent 4dde82c646
commit 968b313993

View file

@ -15,5 +15,13 @@ PortholeMsg, *PPortholeMsg;
typedef int PortholeMapID, *PPortholeMapID;
typedef struct _PortholeEvents
{
HANDLE connect;
HANDLE disconnect;
}
PortholeEvents, *PPortholeEvents;
#define IOCTL_PORTHOLE_SEND_MSG CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_PORTHOLE_UNLOCK_BUFFER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_PORTHOLE_REGISTER_EVENTS CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_BUFFERED, FILE_ANY_ACCESS)