Windows Media Format SDK banner art
PreviousNext

IWMProfileManager::LoadProfileByData

The LoadProfileByData method loads a profile from a stored string.

Syntax

HRESULT LoadProfileByData(
  const WCHAR*  pwszProfile,
  IWMProfile**  ppProfile
);

Parameters

  pwszProfile

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

  ppProfile

[out]  Pointer to a pointer to an IWMProfile object.

Return Values

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

Return code Meaning
E_OUTOFMEMORY There is not enough available memory.
E_INVALIDARG Either the ppProfile or pwszProfile parameter is NULL.

Remarks

This string should match a string created by SaveProfileByData.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.