예제 #1
0
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);
}
예제 #2
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);
}
예제 #3
0
// IUnknown
IFACEMETHODIMP CDataObject::QueryInterface(REFIID riid, void **ppv)
{
    static const QITAB qit[] = {
        QITABENT(CDataObject, IDataObject),
        QITABENT(CDataObject, IEnumFORMATETC),
        { 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);
 }
HRESULT MPEG1Stream::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(MPEG1Stream, IMFMediaEventGenerator),
        QITABENT(MPEG1Stream, IMFMediaStream),
        { 0 }
    };
    return QISearch(this, qit, riid, ppv);
}
 // 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);
 }
예제 #7
0
HRESULT WavSource::QueryInterface(REFIID iid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(WavSource, IMFMediaEventGenerator),
        QITABENT(WavSource, IMFMediaSource),
        { 0 }
    };
    return QISearch(this, qit, iid, ppv);
}
예제 #8
0
	// 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);
	}
예제 #9
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);
}
STDMETHODIMP FWmfMediaByteStream::QueryInterface(REFIID RefID, void** Object)
{
	static const QITAB QITab[] =
	{
		QITABENT(FWmfMediaByteStream, IMFByteStream),
		QITABENT(FWmfMediaByteStream, IMFAsyncCallback),
		{ 0 }
	};

	return QISearch( this, QITab, RefID, Object );
}
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 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
예제 #13
0
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);
}
예제 #14
0
// IUnknown
HRESULT STDMETHODCALLTYPE SumatraUIAutomationTextRange::QueryInterface(REFIID riid, void **ppv)
{
    static const QITAB qit[] = {
        QITABENT(SumatraUIAutomationTextRange, ITextRangeProvider),
        { 0 }
    };
    return QISearch(this, qit, riid, ppv);
}
예제 #15
0
파일: Dll.cpp 프로젝트: ccteng/dicomprop
 //
 // IUnknown methods
 //
 IFACEMETHODIMP QueryInterface(REFIID riid, void **ppv)
 {
     static const QITAB qit[] = {
         QITABENT(CDicomPropertyHandlerClassFactory, IClassFactory),
         { 0 },
     };
     return QISearch(this, qit, riid, ppv);
 }
예제 #16
0
HRESULT CCapture::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CCapture, IMFSourceReaderCallback),
        { 0 },
    };
    return QISearch(this, qit, riid, ppv);
}
 // IUnknown
 IFACEMETHODIMP QueryInterface(__in REFIID riid, __deref_out void **ppv)
 {
     static const QITAB qit[] = 
     {
         QITABENT(CClassFactory, IClassFactory),
         { 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);
}
예제 #19
0
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);
}
예제 #21
0
파일: capture.cpp 프로젝트: NathanW2/escapi
// IUnknown methods
STDMETHODIMP CaptureClass::QueryInterface(REFIID aRiid, void** aPpv)
{
	static const QITAB qit[] =
	{
		QITABENT(CaptureClass, IMFSourceReaderCallback),
		{ 0 },
	};
	return QISearch(this, qit, aRiid, aPpv);
}
예제 #22
0
HRESULT MFAsyncCallback::QueryInterface(REFIID riid, void** ppv)
{
	static const QITAB qit[] =
    {
        QITABENT(MFAsyncCallback, IMFAsyncCallback),
        { 0 }
    };
	return QISearch(this, qit, riid, ppv);
}
예제 #23
0
STDMETHODIMP CaptureManager::CaptureEngineCB::QueryInterface(REFIID riid, void** ppv)
{
    static const QITAB qit[] = 
    {
        QITABENT(CaptureEngineCB, IMFCaptureEngineOnEventCallback),
        { 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 );
}
예제 #26
0
    IFACEMETHODIMP QueryInterface(
        _In_         REFIID  riid,
        _COM_Outptr_ void**  ppv)
    {
        static const QITAB qitab[] =
        {
            QITABENT(CPortableDeviceEventsCallback, IPortableDeviceEventCallback),
            { },
        };

        return QISearch(this, qitab, riid, ppv);
    }
예제 #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 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);
			}
예제 #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 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);
			}
예제 #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);
			}
예제 #30
0
		IFACEMETHODIMP QueryInterface(REFIID riid, LPVOID *ppvObject) final
		{
			if (!ppvObject) {
				return E_POINTER;
			}

			if (!LibWin32Common::pQISearch) {
				// QISearch() could not be loaded.
				*ppvObject = nullptr;
				return E_UNEXPECTED;
			}

#pragma warning(push)
#pragma warning(disable: 4365 4838)
			static const QITAB rgqit[] = {
				QITABENT(RP_ClassFactory, IClassFactory),
				{ 0, 0 }
			};
#pragma warning(pop)
			return LibWin32Common::pQISearch(this, rgqit, riid, ppvObject);
		}