aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/resource.rc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:11:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:24:13 +0300
commit3eec1310829f6ec7f3c40a35d5991b0ebbf273b5 (patch)
treece8257ca7e35f0471bbc1fd67acd8a1c75969ec9 /test/unit_tests/resource.rc
parentprocess_tests: add stdin redirection test (diff)
downloadwinapi-common-3eec1310829f6ec7f3c40a35d5991b0ebbf273b5.tar.gz
winapi-common-3eec1310829f6ec7f3c40a35d5991b0ebbf273b5.zip
Process: add methods to load resource strings
Diffstat (limited to 'test/unit_tests/resource.rc')
-rw-r--r--test/unit_tests/resource.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/unit_tests/resource.rc b/test/unit_tests/resource.rc
new file mode 100644
index 0000000..4ff6e5c
--- /dev/null
+++ b/test/unit_tests/resource.rc
@@ -0,0 +1,15 @@
+#include "resource_ids.h"
+
+#include <windows.h>
+
+STRINGTABLE
+{
+ IDS_TEST_STRING, "This is a test resource string!"
+ IDS_TEST_STRING_WIDE, L"This is another test string, wide this time."
+}
+
+// 0xdeadbeef, byte by byte
+ID_TEST_DATA RCDATA
+{
+ 0xadde, 0xefbe
+}