194 Commits

Author SHA1 Message Date
03522c0047 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-09-04 13:02:22 +02:00
fa1514e9b3 Support NULL-tokens in user_impersonator
Specifying NULL token is a no-op now. This simplifies client code when
impersonation is optional.

Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-23 10:48:09 +02:00
ae62e57126 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-23 10:47:05 +02:00
ddf3330545 Update documentation
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-12 13:18:37 +02:00
8654f36e20 Check for LocalAlloc() failure in Release builds too
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 17:51:14 +02:00
a5e47313f9 Allow null error messages in exceptions
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 17:05:25 +02:00
5498fb0c15 Import parent property sheets only when they exist
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 15:12:07 +02:00
33e2ac3da4 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 14:54:42 +02:00
1ba18f48c6 Upgrade to compile with WIN32_LEAN_AND_MEAN
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 09:26:53 +02:00
78683efbff Unify LPCBYTE
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 09:24:43 +02:00
b8f9f2536f Introduce Visual Studio 2019 support
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-13 09:16:05 +02:00
badfb43772 Update security helper templates
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-13 09:16:05 +02:00
f47faea71b Pull changes from downstream
- Drop Visual Studio 2010 support
- Update SAL
- New and updated classes and templates
- Copyright year update

Signed-off-by: Simon Rozman <simon@rozman.si>
2019-01-21 10:54:38 +01:00
7440a3f421 Sanitize key memory after use
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-01-18 13:49:23 +01:00
cd78963fd2 Add support for WinTrust API 2018-12-18 12:33:21 +01:00
aa7cd261f2 Resolve code analysis reported warnings 2018-12-18 12:27:10 +01:00
51a82c242f Fix event_provider::write() malfunction under compiler optimization
VC++ 2017 optimization didn't like our playing with va_list.
2018-09-30 16:40:21 +02:00
49a6d61695 Extend copyright year 2018-09-07 23:48:24 +02:00
5ae47a993a Discontinue ARM platform (like Microsoft did) 2018-09-07 20:33:14 +02:00
c8e387b38f Add support for ARM/ARM64 2018-09-06 09:28:40 +02:00
7f2515f54a Stop using internal unique_ptr::_Myptr member 2018-09-05 13:56:51 +02:00
f2f62d5cac Clean-up 2018-08-31 14:20:23 +02:00
83daf5dcb4 Set version independent project name 2018-08-31 13:58:03 +02:00
d1f37d8376 Silence the VC2017 linker for empty .cpp files 2018-08-31 13:42:17 +02:00
b33af3a138 Split the project files to versions for VC2010 and VC2017 2018-08-31 13:27:00 +02:00
6304cd8218 Add missing #include <algorithm> 2018-08-31 13:25:51 +02:00
e1bc8769e3 Resolve C4239 warning 2018-08-31 13:25:05 +02:00
567969bcfb Resolve overlapping variable name warnings 2018-08-31 13:24:21 +02:00
82eee72e46 Redesign the project files 2018-08-31 12:32:23 +02:00
a3c195a98a Stop using <> parentheses to avoid XML/HTML markup
Transifex treats strings enclosed in <> as HTML.
2018-06-20 14:24:43 +02:00
ffea8e5fbb Documentation update 2017-07-15 10:24:13 +02:00
750f40fada GetTokenInformation<>() template introduced 2017-05-22 08:23:18 +02:00
7fac8e286f winstd::security_id SID structure wrapper introduced 2017-05-22 08:22:57 +02:00
b09610fd5f Merge branch 'master' of https://github.com/Amebis/WinStd 2017-05-16 13:03:13 +02:00
0b70517ba9 WlanReasonCodeToString() tested and fixed 2017-05-16 13:03:05 +02:00
50d840e171 Some MSI functions tested and marked as OK 2017-04-25 00:35:25 +02:00
79b9ac4371 winstd::com_obj "QueryInterface" constructors added 2017-04-24 21:42:59 +02:00
e9abc0e7b6 winstd::file helper class introduced 2017-04-24 21:06:37 +02:00
0910917126 Copyright extended to 2017 2017-04-18 13:53:27 +02:00
90b60031df Incorrect CoCreateInstance() result evaluation fixed 2017-02-23 11:04:57 +01:00
905fd066dc Another variant of EAP-GTC introduced: password based 2017-02-09 09:30:42 +01:00
5ffcb79306 Over-matching win::event_data template constructor replaced with selected data type variants only; NULL strings presented as "<null>" to work-around trouble with Event Viewer not rendering event parameters when some strings are NULL 2017-01-31 12:34:10 +01:00
feea0fdf2a RegQueryValueExA() functions tested 2016-12-05 12:37:39 +01:00
cea06e8f48 Doxygen update 2016-11-07 13:46:46 +01:00
bab514cbd4 WideCharToMultiByte() and MultiByteToWideChar() template fixed to char/wchar_t and additional variants supporting std::basic_string<> added 2016-11-07 13:44:25 +01:00
6be8e5ee54 STRING() macro introduced 2016-11-07 10:17:38 +01:00
6acc318f87 Documentation update 2016-11-02 11:02:11 +01:00
85ad07ece5 Doxygen documentation updated & some minor issues stumbled upon fixed 2016-11-02 00:16:33 +01:00
b2d27e993a WIN1250 >> UTF-8 2016-11-01 06:54:56 +01:00
64d0ae5e69 Issue with dplhandle<>::operator=() not overwriting non-NULL object with NULL one fixed 2016-10-25 14:13:03 +02:00