diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Winamp/api_videopreferences.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Winamp/api_videopreferences.h')
-rw-r--r-- | Src/Winamp/api_videopreferences.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Src/Winamp/api_videopreferences.h b/Src/Winamp/api_videopreferences.h new file mode 100644 index 00000000..f14764d9 --- /dev/null +++ b/Src/Winamp/api_videopreferences.h @@ -0,0 +1,28 @@ +#ifndef __WASABI_API_VIDEOPREFERENCES_H +#define __WASABI_API_VIDEOPREFERENCES_H + +#include <bfc/dispatch.h> +#include <bfc/platform/types.h> +class NOVTABLE api_videopreferences : public Dispatchable +{ +public: + DISPATCH_CODES + { + API_VIDEOPREFERENCES_IS_OUTPUT_YV12=10, + }; + + int IsOutputYV12(); +}; + +inline int api_videopreferences::IsOutputYV12() +{ + return _call(API_VIDEOPREFERENCES_IS_OUTPUT_YV12, (int)0); +} + + +// {9DE9DBEE-1466-4da4-939D-2EFDDEA14DA7} +static const GUID videoPreferencesGUID = +{ 0x9de9dbee, 0x1466, 0x4da4, { 0x93, 0x9d, 0x2e, 0xfd, 0xde, 0xa1, 0x4d, 0xa7 } }; + + +#endif
\ No newline at end of file |