eb73ce92ed
Switch to SPDX license notice
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 12:59:00 +01:00
82935bd8e0
Unify Windows.h inclusion
...
Windows.h must be included first and must be included with care
regarding WinSock.h and WinSock2.h affair.
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-15 11:35:08 +01:00
b8816476e5
Introduce basic support for Windows GDI resources
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-04-01 09:27:15 +02:00
51b262b382
Cleanup WINSTD_API and WINSTD_NOVTABLE
...
WINSTD_API: the WinStd is never compiled as DLL any more. No public
function or class needs __declspec(dllexport)/__declspec(dllimport) any
more.
WINSTD_NOVTABLE: inlined
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-30 11:59:18 +02:00
96e1882405
Copyright: Bump year
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-25 08:32:57 +01:00
7196b4298e
Add UTF-8 BOM markers
...
MSVC needs them to use correct charset when Language for non-Unicode
programs is set to Windows-1252 or anything different than UTF-8.
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 10:53:10 +01:00
85075cd419
Introduce reg_key::delete_subkey() method
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:15:36 +02:00
73619821ee
Address code analysis warnings
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 19:27:07 +01:00
a9cac71568
Rename StdAfx.h to PCH.h
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 15:34:11 +01:00
542d20fccb
Update Copyright year
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:13:42 +01:00
f9e65c8a75
Remove UTF-8 BOM
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-11-28 15:51:14 +01: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
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
49a6d61695
Extend copyright year
2018-09-07 23:48:24 +02:00
7fac8e286f
winstd::security_id SID structure wrapper introduced
2017-05-22 08:22:57 +02:00
0910917126
Copyright extended to 2017
2017-04-18 13:53:27 +02: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
3b4448dcf4
C >> C++ typecasting
2016-10-03 11:32:13 +02:00
129b9c9a10
Some EapHost peer helper classes introduced
2016-09-30 15:19:43 +02:00
983bcbf9a2
Registry support enhanced
2016-09-07 14:02:41 +02:00
276546ee18
Additional support for working with WLAN added
2016-08-28 12:21:03 +02:00
ea9a08e02a
StringToGuid() changed not to require zero termination exactly at the end of the GUID string; plus it can now return the pointer to the end of the GUID found; akin of strtoi()
2016-08-27 17:22:19 +02:00
ada00d74c5
StringToGuid() functions added
2016-08-27 12:18:01 +02:00
d0c6be257b
event_rec helper class introduced
2016-08-26 15:53:18 +02:00
54ab70b263
win_handle, process and vmemory helper classes introduced
2016-08-24 16:13:47 +02:00
f94b72379e
Support for Windows Security Provider API extended
2016-08-23 13:53:09 +02:00
37d768dabf
winstd::user_impersonator helper class introduced
2016-08-15 17:32:57 +02:00
028979524a
winstd::eap_attr tested and stabilized
2016-08-14 21:04:10 +02:00
25c886754d
Exponent-one key creation introduced
2016-08-14 12:44:40 +02:00
84e544c2f6
eap_attr::create_ms_mppe_key() method for MS-MPPE-Send-Key and MS-MPPE-Recv-Key generation added
2016-08-12 21:09:38 +02:00
431c7d9960
winstd::eap_packet EapPacket wrapper class introduced
2016-08-04 10:06:52 +02:00
f9c0581409
winstd::data_blob revised
2016-06-22 23:32:20 +02:00
5e10b905f9
winstd::com_initializer helper introduced
2016-06-22 16:24:03 +02:00
6684c2cc64
winstd::event_trace_enabler helper class introduced and some other enhancements
2016-06-22 06:28:15 +02:00
865cab04ed
Event Tracing for Windows extended to support sessions and traces
2016-06-21 17:19:29 +02:00
32edf94eef
Clean-up
2016-06-10 11:50:52 +02:00
bc0967edc3
.h/.cpp files converted to UTF-8 to allow rcgettext parsing
2016-06-09 15:47:27 +02:00
1022a2cc0d
winstd::actctx_activator helper class introduced
2016-06-07 10:42:57 +02:00
4442369236
Compilation for pre-Vista environments fixed
2016-06-01 19:15:52 +02:00
38ac97e6da
Constructors and move assignments fixed after porting from ATL
...
(Took some lessons of Standard C++)
2016-05-21 23:21:04 +02:00
37cfccf2e6
Missing include added
2016-05-21 17:38:23 +02:00
2fe4d504b3
CPP files changed to UTF-16
2016-05-21 17:37:16 +02:00
20686ff7dc
Heap evaluation of memory-leaks added
2016-05-21 17:31:41 +02:00
5519358291
- Code reorganized to move virtual methods and constructors to cpp
...
- winstd::bstr and winstd::variant helpers introduced
2016-05-20 16:22:25 +02:00
3167ef22d9
Sources are UTF-16 encoded now
2016-05-20 09:52:07 +02:00