|  | 
| Previous | Next | 
The GetSinkCount method retrieves the number of writer sinks.
Syntax
HRESULT GetSinkCount(
  DWORD*  pcSinks
);
Parameters
pcSinks
[out] Pointer to a count of sinks.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Meaning | 
| E_INVALIDARG | pcSinks is NULL. | 
See Also
| Previous | Next |