初学者不理解下面这段获取GIGE相机IP的代码:
if(pDeviceInfo->nTLayerType==MV_GIGE_DEVICE)
{
int nIp1=(pDeviceInfo->SpecialInfo.stGigEInfo.nCurrentIp&0xff000000)>>24;
int nIp2=(pDeviceInfo->SpecialInfo.stGigEInfo.nCurrentIp&0x00ff0000)>>16;
int nIp3=(pDeviceInfo->SpecialInfo.stGigEInfo.nCurrentIp&0x0000ff00)>>8;
int nIp4=(pDeviceInfo->SpecialInfo.stGigEInfo.nCurrentIp&0x000000ff);
}
nCurrentIp就是当前相机的IP,后面的"&0xff000000)>>24"是什么意思?;