From 7ada8b96fb1dc305028a29fd3f4d1b0f019da75c Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Mon, 12 Dec 2022 22:49:24 -0700 Subject: [PATCH] include: Add RTL_CONSTANT_STRING. --- include/ntdef.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ntdef.h b/include/ntdef.h index 92366c3f3bb..8d04f83da5d 100644 --- a/include/ntdef.h +++ b/include/ntdef.h @@ -84,4 +84,6 @@ typedef struct _RTL_BALANCED_NODE #define RTL_BALANCED_NODE_RESERVED_PARENT_MASK 3 +#define RTL_CONSTANT_STRING(s) { sizeof(s) - sizeof(s[0]), sizeof(s), (void*)s } + #endif /* _NTDEF_ */