Yuri Benditovich
6da5b27ca6
Alloc: Make non-paged allocation from Nx pool on Win8 and later
...
This is requirement of DeviceGuard and HyperVisor Code
Integrity Readiness Test on Win10/Server2016.
We use Nx allocations for all the systems where Nx pool
is implemented, i.e. for Windows 8 and later.
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-04-02 17:24:35 +03:00
Dmitry Fleytman
435ea8de58
UsbDkUtil: Introduce CStopWatch class
...
This class does elapsed time measurement.
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-02-19 11:13:42 +02:00
Dmitry Fleytman
742f044334
Utils: Introduce helper for opening current process handle
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-11-16 15:37:14 +02:00
Dmitry Fleytman
a1affb2054
CString: Introduce more creation options
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-03-10 19:10:18 +02:00
Dmitry Fleytman
447de6ad71
build: add XP/2003 configurations
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-06-01 23:01:13 +03:00
Pavel Gurvich
a77d8161e4
UsbDk: Add license-related files and headers
...
Signed-off-by: Pavel Gurvich <pavel@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-20 11:56:20 +03:00
Dmitry Fleytman
ee3e3f77ac
UsbDk: Mark string compare operators const
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:14 +03:00
Dmitry Fleytman
2dfbe1d12a
UsbDk: Helper to copy CString to C array
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:13 +03:00
Dmitry Fleytman
9c6ca754f6
UsbDk: Extend CString class
...
1. Introduce Append() operation
2. Intoduce Create() for strings with numeric postfix
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:13 +03:00
Dmitry Fleytman
2ca0b2a3ab
UsbDk: Rename CStringComparator -> CStringBase
...
This class will contain additional logic besides compares,
the name needs to be adjusted.
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:13 +03:00
Dmitry Fleytman
bdeaae2b8e
UsbDk: Util: static buffer duplication function
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:12 +03:00
Dmitry Fleytman
3ab3ebf502
UsbDk: make string comparator work on any IRQL
...
Do not use RtlCompare...String() functions because
they require PASSIVE_LEVEL.
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:12 +03:00
Dmitry Fleytman
48670040b3
UsbDk: Introduce (unicode) string classes
...
CStringHolder - for pre-allocated strings
CString - for strings allocated on creation
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:11 +03:00
Dmitry Fleytman
1061862779
UsbDk: Introduce WDM event class
...
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:10 +03:00