Windows Media Format SDK banner art
PreviousNext

IWMProfileManager::CreateEmptyProfile

The CreateEmptyProfile method creates a new, empty profile.

Syntax

HRESULT CreateEmptyProfile(
  WMT_VERSION  dwVersion,
  IWMProfile**  ppProfile
);

Parameters

  dwVersion

[in]  Double word containing one member of the WMT_VERSION enumeration type.

  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.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.