31 wintrust(_In_opt_ HWND hwnd, _In_
const GUID &action, _Inout_ WINTRUST_DATA &wtd) :
36 const LONG lResult = WinVerifyTrust(m_hwnd, &m_action, &m_wtd);
37 if (lResult != ERROR_SUCCESS)
46 m_wtd.dwStateAction = WTD_STATEACTION_CLOSE;
47 WinVerifyTrust(m_hwnd, &m_action, &m_wtd);
Windows runtime error.
Definition Common.h:1403
WinTrust engine wrapper class.
Definition WinTrust.h:23
wintrust(HWND hwnd, const GUID &action, WINTRUST_DATA &wtd)
Initializes a new class instance.
Definition WinTrust.h:31
virtual ~wintrust()
Destroys the WinTrust context.
Definition WinTrust.h:44
#define WINSTD_NONCOPYABLE(C)
Declares a class as non-copyable.
Definition Common.h:67
#define WINSTD_NONMOVABLE(C)
Declares a class as non-movable.
Definition Common.h:75