[PATCH 2/3] include/winuser.h: define the undocumented RT_FILE resource type
Damjan Jovanovic
damjan.jov at gmail.com
Sat Apr 18 02:28:55 CDT 2020
On https://docs.microsoft.com/en-us/previous-versions//aa767740(v=vs.85)
the only mentioned resource types are RT_HTML and RT_FILE.
RT_FILE is completely undocumented and doesn't appear in any headers,
but by a process of elimination, the 2110 magic number used in
https://www.codeproject.com/Articles/435/How-to-use-the-res-protocol-in-Developer-Studio
and tested in later tests in this patch series, must be RT_FILE.
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
---
include/winuser.h | 3 +++
1 file changed, 3 insertions(+)
-------------- next part --------------
diff --git a/include/winuser.h b/include/winuser.h
index 5fd774d295..18bb8ce013 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -826,6 +826,9 @@ typedef struct tagWINDOWPLACEMENT
#define RT_ANICURSOR MAKEINTRESOURCE(21)
#define RT_ANIICON MAKEINTRESOURCE(22)
#define RT_HTML MAKEINTRESOURCE(23)
+#ifdef __WINESRC__
+#define RT_FILE MAKEINTRESOURCE(2110)
+#endif /* __WINESRC__ */
#ifdef RC_INVOKED
#define RT_MANIFEST 24
More information about the wine-devel
mailing list