// Check that the vCard is a valid vCard 4.0 file.
-
vCard vCard4FormatCheck;
vCard4FormatCheck.LoadFile(Filename);
return CONTACTLOAD_FILEINVALIDFORMAT;
}
+
+ // Check that the vCard meets the base specification.
+
+ if (!vCard4FormatCheck.MeetBaseSpecification()){
+
+ return CONTACTLOAD_FILEBASESPECFAIL;
+
+ }
+
+
return CONTACTLOAD_UNITTESTFAIL;