Windows Media Format SDK banner art
PreviousNext

IWMProfileManager::LoadSystemProfile

The LoadSystemProfile method loads a system profile identified by its index.

Syntax

HRESULT LoadSystemProfile(
  DWORD  dwProfileIndex,
  IWMProfile**  ppProfile
);

Parameters

  dwProfileIndex

[in]  Double word containing the profile index.

  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 The ppProfile parameter is NULL.

Remarks

This method should be used in conjunction with GetSystemProfileCount to iterate through the system profiles.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.