下面代码实现的是什么功能
请问,有谁知道下面代码实现的是什么功能啊!刚刚接触,有点不知所措。
uint32 nCMRegMask = NMASK_CM_SS;
if (!PhoneIsOnline(pMe->a.m_pIShell))
{
nCMRegMask |= NMASK_CM_PHONE;
}
nErrCode = ISHELL_RegisterNotify(pMe->a.m_pIShell, AEECLSID_AUXSETTINGS, AEECLSID_CM_NOTIFIER,nCMRegMask);
if (nErrCode != SUCCESS)
{
ERR_MSG("failed to register cm for notification 0x%x: %d", nCMRegMask, nErrCode, 0);
}
期待回复!谢谢