FindNextDevice (Compact 2013)
3/26/2014
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.
- pdi
[out] Pointer to a DEVMGR_DEVICE_INFORMATION structure to store the device's information.
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 |
See Also
Reference
Device Manager Functions
DeviceSearchType
DEVMGR_DEVICE_INFORMATION
FindFirstDevice