return (msgFlags & desiredFlags) ? NS_OK : NS_COMFALSE;
return (msgFlags & desiredFlags) ? NS_OK : NS_ERROR_FAILURE;
nsMsgFlagSetFilter(nsIMsgDBHdr *msg, void *closure){  PRUint32 msgFlags, desiredFlags;  desiredFlags = * (PRUint32 *) closure;  msg->GetFlags(&msgFlags);  return (msgFlags & desiredFlags) ? NS_OK : NS_COMFALSE;}