From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Winamp/api_videopreferences.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Src/Winamp/api_videopreferences.h (limited to 'Src/Winamp/api_videopreferences.h') 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 +#include +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 -- cgit