diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/auth/Loginbox/templateInfo.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/auth/Loginbox/templateInfo.h')
-rw-r--r-- | Src/auth/Loginbox/templateInfo.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Src/auth/Loginbox/templateInfo.h b/Src/auth/Loginbox/templateInfo.h new file mode 100644 index 00000000..ca4094be --- /dev/null +++ b/Src/auth/Loginbox/templateInfo.h @@ -0,0 +1,42 @@ +#ifndef NULLSOFT_AUTH_LOGIN_TEMPLATE_INFO_HEADER +#define NULLSOFT_AUTH_LOGIN_TEMPLATE_INFO_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include "./loginTemplate.h" + +// {AF0F69A5-61B5-4e22-BC20-C075AEAB6C0A} +static const GUID LTUID_INFO = +{ 0xaf0f69a5, 0x61b5, 0x4e22, { 0xbc, 0x20, 0xc0, 0x75, 0xae, 0xab, 0x6c, 0xa } }; + + +class LoginTemplateInfo : public LoginTemplate +{ +protected: + LoginTemplateInfo(); + ~LoginTemplateInfo(); + +public: + static HRESULT CreateInstance(LoginTemplateInfo **instance); + +public: + ULONG AddRef(); + ULONG Release(); + + HRESULT GetType(GUID *templateUid); + + HRESULT SetParameter(LPCWSTR pszKey, LPCWSTR pszValue); + HRESULT IsValid(); + HRESULT IsIdentical(LoginTemplate *test); + + HWND CreatePage(HWND hLoginbox, HWND hParent); + +protected: + ULONG ref; + LPWSTR title; + LPWSTR message; +}; + +#endif //NULLSOFT_AUTH_LOGIN_TEMPLATE_INFO_HEADER
\ No newline at end of file |