Windows Media Format SDK banner art
PreviousNext

IWMProfile::SetName

The SetName method specifies the name of a profile.

Syntax

HRESULT SetName(
  const WCHAR*  pwszName
);

Parameters

  pwszName

[in]  Pointer to a wide-character NULL-terminated string containing the name.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_INVALIDARG The pwszName parameter is NULL.

Remarks

Profiles have names and descriptions, for use when displaying lists of profiles.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.