|  | 
| Previous | Next | 
The SetStreamName method specifies the stream name.
Syntax
HRESULT SetStreamName(
  WCHAR*  pwszStreamName
);
Parameters
pwszStreamName
[in] Pointer to a wide-character NULL-terminated string containing the stream name.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Description | 
| E_OUTOFMEMORY | The pwszStreamName parameter is NULL. | 
See Also
| Previous | Next |