---
title: CMValidImageProcPtr
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/cmvalidimageprocptr
---

# CMValidImageProcPtr

Defines a pointer to a function that validates a specified image file.

## Declaration

```occ
typedef CMError (*CMValidImageProcPtr)
(
   const FSSpec * spec
);
```

## Parameters

- `spec`: See the File Manager documentation for a description of the `FSSpec` data type.

## Return Value

A `CMError` value. See [Result Codes](../colorsync_manager.md).

## See Also

### Callbacks

- [CMBitmapCallBackProcPtr](../cmbitmapcallbackprocptr.md)
- [CMConcatCallBackProcPtr](../cmconcatcallbackprocptr.md)
- [CMCountImageProfilesProcPtr](cmcountimageprofilesprocptr.md)
- [CMEmbedImageProcPtr](cmembedimageprocptr.md)
- [CMFlattenProcPtr](../cmflattenprocptr.md)
- [CMGetImageSpaceProcPtr](cmgetimagespaceprocptr.md)
- [CMGetIndImageProfileProcPtr](cmgetindimageprofileprocptr.md)
- [CMIterateDeviceInfoProcPtr](../cmiteratedeviceinfoprocptr.md)
- [CMIterateDeviceProfileProcPtr](../cmiteratedeviceprofileprocptr.md)
- [CMLinkImageProcPtr](cmlinkimageprocptr.md)
- [CMMatchImageProcPtr](cmmatchimageprocptr.md)
- [CMMIterateProcPtr](../cmmiterateprocptr.md)
- [CMProofImageProcPtr](cmproofimageprocptr.md)
- [CMProfileIterateProcPtr](../cmprofileiterateprocptr.md)
- [CMSetIndImageProfileProcPtr](cmsetindimageprofileprocptr.md)
- [CMUnembedImageProcPtr](cmunembedimageprocptr.md)
- [CountImageProfilesProcPtr](countimageprofilesprocptr.md)
- [EmbedImageProcPtr](embedimageprocptr.md)
- [GetImageSpaceProcPtr](getimagespaceprocptr.md)
- [GetIndImageProfileProcPtr](getindimageprofileprocptr.md)
- [MatchImageProcPtr](matchimageprocptr.md)
- [SetIndImageProfileProcPtr](setindimageprofileprocptr.md)
- [UnembedImageProcPtr](unembedimageprocptr.md)
- [ValidateImageProcPtr](validateimageprocptr.md)
- [ValidateSpaceProcPtr](validatespaceprocptr.md)
