Esempio n. 1
0
CNdasUnitDevicePtr
pGetNdasUnitDevice(const NDAS_DEVICE_ID_EX& device, DWORD unitNo)
{
	CNdasDevicePtr pDevice = pGetNdasDevice(device);
	if (CNdasDeviceNullPtr == pDevice) 
	{
		return CNdasUnitDeviceNullPtr;
	}
	return pDevice->GetUnitDevice(unitNo);
}
Esempio n. 2
0
CNdasUnitDevicePtr 
pGetNdasUnitDevice(DWORD SlotNo, DWORD UnitNo)
{
	CNdasDevicePtr pDevice = pGetNdasDevice(SlotNo);
	if (CNdasDeviceNullPtr == pDevice) 
	{
		return CNdasUnitDeviceNullPtr;
	}
	return pDevice->GetUnitDevice(UnitNo);
}