|
IUnknown::QueryInterface
The QueryInterface method determines if an interface can be used with an object. Used by the
following interfaces: IAVIEditStream, IAVIFile, IAVIStream, IAVIStreaming, and IGetFrame.
HRESULT QueryInterface(
LPUNKNOWN ps,
|
| const IID & riid,
|
| void *ppvObj
|
| );
|
|
Parameters
ps
Address of an IAVIEditStream, IAVIFile, IAVIStream, IAVIStreaming, or IGetFrame interface.
riid
Identifier of the interface being queried.
ppvObj
Address to contain a pointer to the object whose interface is queried or NULL
when an interface is not supported.
Return Values
Returns a pointer to the current interface if successful or E_NOINTERFACE
otherwise.
Remarks
For handlers written in C++, QueryInterface has the following syntax:
HRESULT QueryInterface(const IID &riid, void *ppvObj);
See Also
IAVIEditStream, IAVIFile, IAVIStream, IAVIStreaming, IGetFrame
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|