public bool SetMsg() { iMsg = MAPI.GetMSG(); iMsgMem = MAPI.GetMemMSG(); if (iMsg == 0) { return(false); } else { return(true); } }