HRESULT STDMETHODCALLTYPE SumatraUIAutomationDocumentProvider::QueryInterface(REFIID riid, void** ppv) {
    static const QITAB qit[] = {QITABENT(SumatraUIAutomationDocumentProvider, IRawElementProviderSimple),
                                QITABENT(SumatraUIAutomationDocumentProvider, IRawElementProviderFragment),
                                QITABENT(SumatraUIAutomationDocumentProvider, ITextProvider),
                                QITABENT(SumatraUIAutomationDocumentProvider, IAccIdentity),
                                {0}};
    return QISearch(this, qit, riid, ppv);
}
 // IUnknown
 IFACEMETHODIMP QueryInterface(REFIID riid, void **ppv)
 {
     static const QITAB qit[] = {
         QITABENT(CDataObject, IDataObject),
         { 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
Beispiel #3
0
// IUnknown
HRESULT STDMETHODCALLTYPE SumatraUIAutomationTextRange::QueryInterface(REFIID riid, void **ppv)
{
    static const QITAB qit[] = {
        QITABENT(SumatraUIAutomationTextRange, ITextRangeProvider),
        { 0 }
    };
    return QISearch(this, qit, riid, ppv);
}
Beispiel #4
0
 //
 // IUnknown methods
 //
 IFACEMETHODIMP QueryInterface(REFIID riid, void **ppv)
 {
     static const QITAB qit[] = {
         QITABENT(CDicomPropertyHandlerClassFactory, IClassFactory),
         { 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
Beispiel #5
0
HRESULT MFAsyncCallback::QueryInterface(REFIID riid, void** ppv)
{
	static const QITAB qit[] =
    {
        QITABENT(MFAsyncCallback, IMFAsyncCallback),
        { 0 }
    };
	return QISearch(this, qit, riid, ppv);
}
Beispiel #6
0
// IUnknown methods
STDMETHODIMP CaptureClass::QueryInterface(REFIID aRiid, void** aPpv)
{
	static const QITAB qit[] =
	{
		QITABENT(CaptureClass, IMFSourceReaderCallback),
		{ 0 },
	};
	return QISearch(this, qit, aRiid, aPpv);
}
 // IUnknown
 IFACEMETHODIMP QueryInterface(__in REFIID riid, __deref_out void **ppv)
 {
     static const QITAB qit[] = 
     {
         QITABENT(CClassFactory, IClassFactory),
         { 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
HRESULT CPreview::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CPreview, IMFPMediaPlayerCallback),
        { 0 },
    };
    return QISearch(this, qit, riid, ppv);
}
// IUnknown
IFACEMETHODIMP CExplorerCommandImpl::QueryInterface(REFIID riid, void ** ppv)
{
	static const QITAB qit[] =
	{
		QITABENT(CExplorerCommandImpl, IExplorerCommand),
		{0},
	};
	return QISearch(this, qit, riid, ppv);
}
STDMETHODIMP CAudioSessionVolume::QueryInterface(REFIID riid, void **ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CAudioSessionVolume, IAudioSessionEvents),
        { 0 },
    };
    return QISearch(this, qit, riid, ppv);
}
HRESULT CCapture::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CCapture, IMFSourceReaderCallback),
        { 0 },
    };
    return QISearch(this, qit, riid, ppv);
}
STDMETHODIMP CaptureManager::CaptureEngineCB::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CaptureEngineCB, IMFCaptureEngineOnEventCallback),
        { 0 }
    };
    return QISearch(this, qit, riid, ppv);
}      
Beispiel #13
0
HRESULT csMenu::QueryInterface(const IID& riid, void **ppvObject)
{
  static const QITAB qit[] = {
    QITABENT(csMenu, IShellExtInit),
    QITABENT(csMenu, IContextMenu),
    { 0 }
  };
  return QISearch(this, qit, riid, ppvObject);
}
 // IUnknown
 IFACEMETHODIMP QueryInterface(REFIID riid, void ** ppv)
 {
     static const QITAB qit[] =
     {
         QITABENT(CFilterSample, IInitializeWithStream),
         QITABENT(CFilterSample, IFilter),
         {0, 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
STDMETHODIMP FImfByteStream::AsyncReadState::QueryInterface( REFIID RefID, void** Object )
{
	static const QITAB QITab[] =
	{
		QITABENT( AsyncReadState, IUnknown ),
		{ 0 }
	};

	return QISearch( this, QITab, RefID, Object );
}
STDMETHODIMP FImfVideoPlayer::QueryInterface( REFIID RefID, void** Object )
{
	static const QITAB QITab[] =
	{
		QITABENT( FImfVideoPlayer, IMFAsyncCallback ),
		{ 0 }
	};

	return QISearch( this, QITab, RefID, Object );
}
HRESULT MPEG1Stream::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(MPEG1Stream, IMFMediaEventGenerator),
        QITABENT(MPEG1Stream, IMFMediaStream),
        { 0 }
    };
    return QISearch(this, qit, riid, ppv);
}
 IFACEMETHODIMP QueryInterface(REFIID riid, void **ppv)
 {
     static const QITAB qit[] =
     {
         QITABENT(CPlaylistCreator, INamespaceWalkCB),
         QITABENT(CPlaylistCreator, INamespaceWalkCB2),
         { 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
	// IUnknown
	virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject)
	{
		static const QITAB table[] = {
			QITABENT(analysisSourceSink, IDWriteTextAnalysisSource),
			QITABENT(analysisSourceSink, IDWriteTextAnalysisSink),
			{ 0 },
		};

		return QISearch(this, table, riid, ppvObject);
	}
Beispiel #20
0
// Query to the interface the component supported.
IFACEMETHODIMP FileContextMenuExt::QueryInterface(REFIID riid, void **ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(FileContextMenuExt, IContextMenu),
        QITABENT(FileContextMenuExt, IShellExtInit), 
        { 0 },
    };
    return QISearch(this, qit, riid, ppv);
}
HRESULT WavSource::QueryInterface(REFIID iid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(WavSource, IMFMediaEventGenerator),
        QITABENT(WavSource, IMFMediaSource),
        { 0 }
    };
    return QISearch(this, qit, iid, ppv);
}
STDMETHODIMP FImfSampleGrabberCallback::QueryInterface( REFIID RefID, void** Object )
{
	static const QITAB QITab[] =
	{
		QITABENT( FImfSampleGrabberCallback, IMFSampleGrabberSinkCallback ),
		QITABENT( FImfSampleGrabberCallback, IMFClockStateSink ),
		{ 0 }
	};

	return QISearch( this, QITab, RefID, Object );
}
STDMETHODIMP FWmfMediaByteStream::QueryInterface(REFIID RefID, void** Object)
{
	static const QITAB QITab[] =
	{
		QITABENT(FWmfMediaByteStream, IMFByteStream),
		QITABENT(FWmfMediaByteStream, IMFAsyncCallback),
		{ 0 }
	};

	return QISearch( this, QITab, RefID, Object );
}
IFACEMETHODIMP rusty::controls::FileDialogEvents::QueryInterface(REFIID riid, void** ppv)
{
    #ifdef _MSC_VER
    #pragma warning(push)
    #pragma warning(disable: 4838)
    #endif
    static const QITAB qit[] = {QITABENT(FileDialogEvents, IFileDialogEvents), QITABENT(FileDialogEvents, IFileDialogControlEvents), {0}};
    #ifdef _MSC_VER
    #pragma warning(pop)
    #endif
    return QISearch(this, qit, riid, ppv);
}
STDMETHODIMP CMyDevicePropertySheet::QueryInterface(__in REFIID riid, __deref_out void **ppv)
{
    static const QITAB qit[] =
    {
        QITABENT(CMyDevicePropertySheet, IShellExtInit),
        QITABENT(CMyDevicePropertySheet, IShellPropSheetExt),
        { 0 },
    };

    return QISearch(this, qit, riid, ppv);

} //*** CMyDevicePropertySheet::QueryInterface
Beispiel #26
0
    IFACEMETHODIMP QueryInterface(
        _In_         REFIID  riid,
        _COM_Outptr_ void**  ppv)
    {
        static const QITAB qitab[] =
        {
            QITABENT(CPortableDeviceEventsCallback, IPortableDeviceEventCallback),
            { },
        };

        return QISearch(this, qitab, riid, ppv);
    }
Beispiel #27
0
			/// <summary>
			/// Get the player reference for the reference id.
			/// </summary>
			/// <param name="iid">The player reference id.</param>
			/// <param name="ppv">The current player reference.</param>
			/// <returns>The result of the operation.</returns>
			HRESULT ReadByteAsyncCallback::QueryInterface(REFIID iid, void** ppv)
			{
				// If null the return invalid pointer.
				if (!ppv)
				{
					return E_POINTER;
				}

				// Attach MediaCapture to the interface.
				static const QITAB qit[] =
				{
					QITABENT(ReadByteAsyncCallback, IMFAsyncCallback),
					{ 0 },
				};
				return QISearch(this, qit, iid, ppv);
			}
Beispiel #28
0
			/// <summary>
			/// Get the player reference for the reference id.
			/// </summary>
			/// <param name="iid">The player reference id.</param>
			/// <param name="ppv">The current player reference.</param>
			/// <returns>The result of the operation.</returns>
			HRESULT WriteByteContainer::QueryInterface(REFIID iid, void** ppv)
			{
				// If null the return invalid pointer.
				if (!ppv)
				{
					return E_POINTER;
				}

				// Attach MediaCapture to the interface.
				static const QITAB qit[] =
				{
					QITABENT(WriteByteContainer, IUnknown),
					{ 0 },
				};
				return QISearch(this, qit, iid, ppv);
			}
Beispiel #29
0
			/// <summary>
			/// Get the player reference for the reference id.
			/// </summary>
			/// <param name="iid">The player reference id.</param>
			/// <param name="ppv">The current player reference.</param>
			/// <returns>The result of the operation.</returns>
			HRESULT StoreByteStream::QueryInterface(REFIID iid, void** ppv)
			{
				// If null the return invalid pointer.
				if (!ppv)
				{
					return E_POINTER;
				}

				// Attach MediaCapture to the interface.
				static const QITAB qit[] =
				{
					QITABENT(StoreByteStream, IMFByteStream),
					{ 0 },
				};
				return QISearch(this, qit, iid, ppv);
			}
Beispiel #30
0
HRESULT CUnknownImpl::QueryInterfaceImpl(REFIID riid, void ** ppvObject)
{
	static const QITAB qitab[] = { {0} };
	const QITAB* pqitab = getQITAB();
	return QISearch(this, pqitab ? pqitab : qitab, riid, ppvObject);
}