Previous | Next |
The GetEnumDevice method enumerates the installed physical or software devices.
Syntax
HRESULT EnumDevices(
IMDSPEnumDevice** ppEnumDevice
);
Parameters
ppEnumDevice
[out] Pointer to an IMDSPEnumDevice object.
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. |
WMDM_E_NOTCERTIFIED | The caller is not authorized, and calls to other Service Provider interfaces will also fail and return this code. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |