forked from multiOTP/multiOTPCredentialProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguid.cpp
39 lines (38 loc) · 2.04 KB
/
guid.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* BASE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Extra code provided "as is" for the multiOTP open source project
*
* @author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
* @version 5.6.1.5
* @date 2019-10-23
* @since 2013
* @copyright (c) 2016-2019 SysCo systemes de communication sa
* @copyright (c) 2015-2016 ArcadeJust ("RDP only" enhancement)
* @copyright (c) 2013-2015 Last Squirrel IT
* @copyright Apache License, Version 2.0
*
*
* Change Log
*
* 2019-10-23 5.6.1.5 SysCo/al FIX: Prefix password parameter was buggy (better handling of parameters in debug mode)
* FIX: swprintf_s problem with special chars (thanks to anekix)
* 2019-01-25 5.4.1.6 SysCo/al FIX: Username with space are now supported
* ENH: Added integrated Visual C++ 2017 Redistributable installation
* 2018-09-14 5.4.0.1 SysCo/al FIX: Better domain name and hostname detection
* FIX: The cache lifetime check process was buggy since 5.3.0.3
* ENH: multiOTP Credential Provider files and objects have been reorganized
* 2018-08-26 5.3.0.3 SysCo/al FIX: Users without 2FA token are now supported
* 2018-08-21 5.3.0.0 SysCo/yj FIX: Save flat domain name in the registry. While offline, use this value instead of asking the DC
* SysCo/al ENH: The multiOTP timeout (how long the Credential Provider wait a response from
* the multiOTP process) is now 60 seconds by default (instead of 10)
* 2018-03-11 5.2.0.0 SysCo/al New implementation from scratch
*
*********************************************************************/
#include <initguid.h>
#include "guid.h"