Compartilhar via


FindNextDevice (Windows CE 5.0)

Send Feedback

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

BOOL FindNextDevice(  HANDLE h,  PDEVMGR_DEVICE_INFORMATION pdi);

Parameters

  • h
    [in] Handle returned from FindFirstDevice.
  • pdi
    [out] Pointer to a DEVMGR_DEVICE_INFORMATION structure to store the device's information.

Return Values

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

OS Versions: Windows CE 5.0 and later.
Header: Winbase.h.

See Also

DeviceSearchType | DEVMGR_DEVICE_INFORMATION | FindClose | FindFirstDevice

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.