Use __MINGW_BROKEN_INTERFACE macro git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3285 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/evr.h b/mingw-w64-headers/include/evr.h index b206fa6..b66f9b3 100644 --- a/mingw-w64-headers/include/evr.h +++ b/mingw-w64-headers/include/evr.h
@@ -72,14 +72,13 @@ } #endif +#undef INTERFACE +#define INTERFACE IMFVideoPresenter #ifdef __GNUC__ #warning COM interfaces layout in this header has not been unverified. #warning COM interfaces with incorrect layout may not work at all. -#warning IMFVideoPresenter is unverified. +__MINGW_BROKEN_INTERFACE(INTERFACE) #endif - -#undef INTERFACE -#define INTERFACE IMFVideoPresenter DECLARE_INTERFACE_(IMFVideoPresenter,IMFClockStateSink) { BEGIN_INTERFACE @@ -116,14 +115,13 @@ #define IMFVideoPresenter_ProcessMessage(This,eMessage,ulParam) (This)->lpVtbl->ProcessMessage(This,eMessage,ulParam) #endif /*COBJMACROS*/ +#undef INTERFACE +#define INTERFACE IMFDesiredSample #ifdef __GNUC__ #warning COM interfaces layout in this header has not been unverified. #warning COM interfaces with incorrect layout may not work at all. -#warning IMFDesiredSample is unverified. +__MINGW_BROKEN_INTERFACE(INTERFACE) #endif - -#undef INTERFACE -#define INTERFACE IMFDesiredSample DECLARE_INTERFACE_(IMFDesiredSample,IUnknown) { BEGIN_INTERFACE @@ -149,14 +147,13 @@ #define IMFDesiredSample_SetDesiredSampleTimeAndDuration(This,hnsSampleTime,hnsSampleDuration) (This)->lpVtbl->SetDesiredSampleTimeAndDuration(This,hnsSampleTime,hnsSampleDuration) #endif /*COBJMACROS*/ +#undef INTERFACE +#define INTERFACE IMFTrackedSample #ifdef __GNUC__ #warning COM interfaces layout in this header has not been unverified. #warning COM interfaces with incorrect layout may not work at all. -#warning IMFTrackedSample is unverified. +__MINGW_BROKEN_INTERFACE(INTERFACE) #endif - -#undef INTERFACE -#define INTERFACE IMFTrackedSample DECLARE_INTERFACE_(IMFTrackedSample,IUnknown) { BEGIN_INTERFACE