[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 int PortholeMapID, *PPortholeMapID;
#define IOCTL_PORTHOLE_SEND_MSG CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS) typedef struct _PortholeEvents
#define IOCTL_PORTHOLE_UNLOCK_BUFFER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_ANY_ACCESS) {
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)