diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-23 11:58:05 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-04-23 12:19:08 +0200 |
commit | 6cf9e30ecf4aab6b6047c22cee9a86824eadfa2b (patch) | |
tree | 1dd885c3b17cba2cecfe1b4cf3482454cffdedfe /ddk-template-cplusplus.cpp | |
parent | 42bf43406080a5f518318b64000a1299bd20ec71 (diff) |
Support for using EASTL w/ user space apps.
* use osslsigncode to sign drivers/apps
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'ddk-template-cplusplus.cpp')
-rw-r--r-- | ddk-template-cplusplus.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ddk-template-cplusplus.cpp b/ddk-template-cplusplus.cpp index b540a22..9406213 100644 --- a/ddk-template-cplusplus.cpp +++ b/ddk-template-cplusplus.cpp @@ -14,6 +14,18 @@ public: } }; +class Derived : public TestSmth +{ +public: + Derived() + { + } + void doSmth(void) + { + DbgPrint("%s\n", "Hello Derived!"); + } +}; + struct threadContext { DriverThread::Semaphore sem; @@ -39,6 +51,8 @@ static void test_cplusplus(void) { TestSmth t; t.doSmth(); + Derived d; + d.doSmth(); struct threadContext ctx; ctx.dth.Start(threadRoutine, (PVOID)&ctx); |