aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/uapi/windows/wireguard.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/uapi/windows/wireguard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uapi/windows/wireguard.h b/src/uapi/windows/wireguard.h
index 22fe9b6..5c5938e 100644
--- a/src/uapi/windows/wireguard.h
+++ b/src/uapi/windows/wireguard.h
@@ -71,4 +71,10 @@ typedef struct _WG_IOCTL_INTERFACE
#define WG_IOCTL_GET CTL_CODE(45208U, 321, METHOD_OUT_DIRECT, FILE_READ_DATA | FILE_WRITE_DATA)
#define WG_IOCTL_SET CTL_CODE(45208U, 322, METHOD_IN_DIRECT, FILE_READ_DATA | FILE_WRITE_DATA)
+#define DEVPKEY_WG_NAME (DEVPROPKEY) { \
+ { 0x65726957, 0x7547, 0x7261, { 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79 } }, \
+ DEVPROPID_FIRST_USABLE + 1 \
+ }
+
+
#endif