FindNextDevice

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/28/2008

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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DeviceSearchType
DEVMGR_DEVICE_INFORMATION
FindFirstDevice

Other Resources

FindClose