api_videopreferences.h 588 B

12345678910111213141516171819202122232425262728
  1. #ifndef __WASABI_API_VIDEOPREFERENCES_H
  2. #define __WASABI_API_VIDEOPREFERENCES_H
  3. #include <bfc/dispatch.h>
  4. #include <bfc/platform/types.h>
  5. class NOVTABLE api_videopreferences : public Dispatchable
  6. {
  7. public:
  8. DISPATCH_CODES
  9. {
  10. API_VIDEOPREFERENCES_IS_OUTPUT_YV12=10,
  11. };
  12. int IsOutputYV12();
  13. };
  14. inline int api_videopreferences::IsOutputYV12()
  15. {
  16. return _call(API_VIDEOPREFERENCES_IS_OUTPUT_YV12, (int)0);
  17. }
  18. // {9DE9DBEE-1466-4da4-939D-2EFDDEA14DA7}
  19. static const GUID videoPreferencesGUID =
  20. { 0x9de9dbee, 0x1466, 0x4da4, { 0x93, 0x9d, 0x2e, 0xfd, 0xde, 0xa1, 0x4d, 0xa7 } };
  21. #endif