Windows Media Format SDK banner art
PreviousNext

IWMStreamConfig::SetConnectionName

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

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.