![]() |
| Previous | Next |
The SetConnectionName method specifies the input name given to the stream.
Syntax
HRESULT SetConnectionName(
WCHAR* pwszInputName
);
Parameters
pwszInputName
[in] Pointer to a wide-character NULL-terminated string containing the input 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 pwszInputName parameter is NULL. |
See Also
| Previous | Next |