Windows Media Format SDK banner art
PreviousNext

IWMDeviceManager::EnumDevices

The EnumDevices method retrieves a pointer to the IWMDMEnumDevice interface of a device enumerator object that can be used to identify the devices that are installed on the computer.

Syntax

HRESULT EnumDevices(
  IWMDMEnumDevice**  ppEnumDevice
);

Parameters

  ppEnumDevice

[out] Pointer to a pointer to an IWMDMEnumDevice interface.

Return Values

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

Return code Description
E_INVALIDARG The ppEnumDevice parameter is an invalid or NULL pointer.
E_FAIL An unspecified error occurred.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.