FindNextDevice (Windows Embedded CE 6.0)

1/6/2010

This function searches for devices using the handle returned from FindFirstDevice.

Syntax

BOOL FindNextDevice(
  HANDLE h,
  PDEVMGR_DEVICE_INFORMATION pdi
);

Parameters

  • h
    [in] Handle returned from FindFirstDevice.

Return Value

Returns TRUE if a device is found and the DEVMGR_DEVICE_INFORMATION is successfully populated. Otherwise, returns FALSE.

Remarks

Wildcards are supported in name-based searches. Unnamed devices can be found using a zero-length search string.

Close the handle with FindClose when searching is complete.

Requirements

Header winbase.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Device Manager Functions
DeviceSearchType
DEVMGR_DEVICE_INFORMATION
FindFirstDevice

Other Resources

FindClose