ValidateStruct prototype