32 wintrust(_In_opt_ HWND hwnd, _In_
const GUID &action, _Inout_ WINTRUST_DATA &wtd) :
37 const LONG lResult = WinVerifyTrust(m_hwnd, &m_action, &m_wtd);
38 if (lResult != ERROR_SUCCESS)
47 m_wtd.dwStateAction = WTD_STATEACTION_CLOSE;
48 WinVerifyTrust(m_hwnd, &m_action, &m_wtd);
Windows runtime error.
Definition: Common.h:1435
WinTrust engine wrapper class.
Definition: WinTrust.h:24
wintrust(_In_opt_ HWND hwnd, _In_ const GUID &action, _Inout_ WINTRUST_DATA &wtd)
Initializes a new class instance.
Definition: WinTrust.h:32
virtual ~wintrust()
Destroys the WinTrust context.
Definition: WinTrust.h:45
#define WINSTD_NONCOPYABLE(C)
Declares a class as non-copyable.
Definition: Common.h:53
#define WINSTD_NONMOVABLE(C)
Declares a class as non-movable.
Definition: Common.h:61