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/api_videopreferences.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
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 |