GetNumberOfImagesInMODCAFileMem Method

 

Description

Returns the number of IOCA (IBM Image Object Content Architecture) Function Set 10 images in an MO:DCA file. The memory must be allocated using the GlobalAlloc Windows API function.

 

Syntax

Count = [BITIFF.] GetNumberOfImagesInMODCAFileMem GlobalMemory Size

 

Parameters

GlobalMemory

LONGLONG

Handle to memory containing the MO:DCA document. The memory must be allocated using the GlobalAlloc Windows API function.

 

Size

Long

The size of the MO:DCA image in bytes.

 

Return Value

The number of images on success, or 0 on failure. Use the BiTiffGetLastErrort function to get the error code.