Windows Media Format SDK banner art
PreviousNext

IWMProfileManager::GetSystemProfileCount

The GetSystemProfileCount method retrieves the number of system profiles.

Syntax

HRESULT GetSystemProfileCount(
  DWORD*  pcProfiles
);

Parameters

  pcProfiles

[out]  Pointer to a count of the system profiles.

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

Remarks

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.