The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IXAudio2::QueryInterface method
Queries for a given COM interface on the XAudio2 object.
Syntax
HRESULT QueryInterface( [in] REFIID riid, [out] void **ppvInterface );
Parameters
- riid [in]
-
The REFIID that identifies the interface to query for.
- ppvInterface [out]
-
Address of a pointer that receives the interface.
Return value
Returns S_OK if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.
Remarks
Only IID_IUnknown and IID_IXAudio2 are provided by XAudio2.
Platform Requirements
Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)
Requirements
|
Header |
|
|---|
See also
Show: