Previous | Next |
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
Previous | Next |