res = SetupDiEnumDeviceInterfaces(device_info_set,
NULL,
&InterfaceClassGuid,
device_index,
&device_interface_data);
if (!res) {
printf("GetLastError() returns: 0x%x\n", GetLastError());
/* A return of FALSE from this function means that
there are no more devices. */
break;
}
错误是 259,有谁遇到过吗 |