Previous | Next |
The GetSink method retrieves a writer sink object, if its index is specified.
Syntax
HRESULT GetSink(
DWORD dwSinkNum,
IWMWriterSink** ppSink
);
Parameters
dwSinkNum
[in] Double word containing the sink number.
ppSink
[out] Pointer to a pointer to an IWMWriterSink object.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_INVALIDARG | Either the ppSink parameter is NULL, or the dwSinkNum parameter is greater than the number of sinks. |
See Also
Previous | Next |