Rename variables

svn path=/trunk/; revision=30330
This commit is contained in:
Hervé Poussineau 2007-11-10 15:47:01 +00:00
parent 019b7e82cd
commit 5800eb6a82

View file

@ -931,18 +931,18 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailA(
return FALSE; return FALSE;
} }
memcpy( memcpy(
&DeviceInfoListDetailData->ClassGuid, &DevInfoData->ClassGuid,
&list->ClassGuid, &set->ClassGuid,
sizeof(GUID)); sizeof(GUID));
DeviceInfoListDetailData->RemoteMachineHandle = list->hMachine; DevInfoData->RemoteMachineHandle = set->hMachine;
if (list->MachineName) if (set->MachineName)
{ {
FIXME("Stub\n"); FIXME("Stub\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
else else
DeviceInfoListDetailData->RemoteMachineName[0] = 0; DevInfoData->RemoteMachineName[0] = 0;
return TRUE; return TRUE;
} }
@ -975,14 +975,14 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailW(
return FALSE; return FALSE;
} }
memcpy( memcpy(
&DeviceInfoListDetailData->ClassGuid, &DevInfoData->ClassGuid,
&list->ClassGuid, &set->ClassGuid,
sizeof(GUID)); sizeof(GUID));
DeviceInfoListDetailData->RemoteMachineHandle = list->hMachine; DevInfoData->RemoteMachineHandle = set->hMachine;
if (list->MachineName) if (set->MachineName)
strcpyW(DeviceInfoListDetailData->RemoteMachineName, list->MachineName + 2); strcpyW(DevInfoData->RemoteMachineName, set->MachineName + 2);
else else
DeviceInfoListDetailData->RemoteMachineName[0] = 0; DevInfoData->RemoteMachineName[0] = 0;
return TRUE; return TRUE;
} }