Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 3.41 KB

nf-mswmdm-iwmdevicemanager-enumdevices.md

File metadata and controls

91 lines (68 loc) · 3.41 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mswmdm.IWMDeviceManager.EnumDevices
IWMDeviceManager::EnumDevices (mswmdm.h)
The EnumDevices method retrieves a pointer to the IWMDMEnumDevice interface that can be used to enumerate portable devices connected to the computer.
EnumDevices
EnumDevices method [windows Media Device Manager]
EnumDevices method [windows Media Device Manager]
IWMDeviceManager interface
IWMDeviceManager interface [windows Media Device Manager]
EnumDevices method
IWMDeviceManager.EnumDevices
IWMDeviceManager::EnumDevices
IWMDeviceManagerEnumDevices
mswmdm/IWMDeviceManager::EnumDevices
wmdm.iwmdevicemanager_enumdevices
wmdm\iwmdevicemanager_enumdevices.htm
WMDM
1daa6d36-9858-4504-a9a2-c0341031829b
12/05/2018
EnumDevices, EnumDevices method [windows Media Device Manager], EnumDevices method [windows Media Device Manager],IWMDeviceManager interface, IWMDeviceManager interface [windows Media Device Manager],EnumDevices method, IWMDeviceManager.EnumDevices, IWMDeviceManager::EnumDevices, IWMDeviceManagerEnumDevices, mswmdm/IWMDeviceManager::EnumDevices, wmdm.iwmdevicemanager_enumdevices
mswmdm.h
Windows
Mssachlp.lib
Windows
19H1
IWMDeviceManager::EnumDevices
mswmdm/IWMDeviceManager::EnumDevices
c++
APIRef
kbSyntax
COM
mssachlp.lib
mssachlp.dll
IWMDeviceManager.EnumDevices

IWMDeviceManager::EnumDevices

-description

The EnumDevices method retrieves a pointer to the IWMDMEnumDevice interface that can be used to enumerate portable devices connected to the computer.

-parameters

-param ppEnumDevice [out]

Pointer to a pointer to an IWMDMEnumDevice interface used to enumerate devices. The caller must release this interface when done with it.

-returns

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

-remarks

This method returns devices based on earlier versions of Windows Media Device Manager. To get all devices, including newer devices (such as MTP devices), call IWMDMDeviceManager2::EnumDevices2.

-see-also

Enumerating Devices

IWMDMEnumDevice Interface

IWMDeviceManager Interface

IWMDeviceManager2::EnumDevices2