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/Winamp/setup/skininfo.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Winamp/setup/skininfo.h')
-rw-r--r-- | Src/Winamp/setup/skininfo.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Src/Winamp/setup/skininfo.h b/Src/Winamp/setup/skininfo.h new file mode 100644 index 00000000..b96494db --- /dev/null +++ b/Src/Winamp/setup/skininfo.h @@ -0,0 +1,38 @@ +#ifndef WINAMP_SKININFO_HEADER +#define WINAMP_SKININFO_HEADER + +#include <windows.h> + +#define SIF_COMMENT 0x01 +#define SIF_PREVIEW 0x02 + +#define SKIN_TYPE_UNKNOWN 0 +#define SKIN_TYPE_CLASSIC 1 +#define SKIN_TYPE_MODERN 2 + +#define SI_NAMEMAX 32 +#define SI_VERMAX 16 +#define SI_AUTHORMAX 32 +#define SI_EMAILMAX 32 +#define SI_HOMEPAGEMAX 64 + +typedef struct _SKININFO +{ + INT cbSize; // sizeof(SKININFO) + UINT fMask; // SIF_DESCRIPTION | SIF_PREVIEW + int type; // classic/modern + wchar_t szName[SI_NAMEMAX]; + wchar_t szVersion[SI_VERMAX]; + wchar_t szAuthor[SI_AUTHORMAX]; + wchar_t szEmail[SI_EMAILMAX]; + wchar_t szHomePage[SI_HOMEPAGEMAX]; + wchar_t szWasabiVer[SI_VERMAX]; + wchar_t *pszComment; + int cchComment; + HBITMAP hPreview; // preiew bitmap; +}SKININFO; + + +BOOL GetSkinInfo(LPCWSTR pszSkinPath, SKININFO *psi); + +#endif //WINAMP_SKININFO_HEADER
\ No newline at end of file |