Retrieves the index of the stream control that matches the specified handle.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsLiveStreamControls_Find(pLiveStreamControls, Handle, index) |
C++ | HRESULT Find(Handle, index) |
Pointer to an IltmsLiveStreamControls interface.
Long value containing the handle of the stream control to find.
Pointer to a variable that receives the zero-based index of the matching stream control.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
If index is equal to -1, no match was found.
Win32, x64.
For a C++ example, refer to the Print Live Stream Controls Example for C++.