next up previous contents
Next: cifDeleteDataBlock Up: CIFLIB Data Block Access Previous: cifGetDataBlockFileOffset

cifGetDataBlockFileOffsetByIndex

NAME cifGetDataBlockFileOffsetByIndex

PROTOTYPE

#include "ciflib.h"

long   cifGetDataBlockFileOffsetByIndex(const int dataBlockIndex)
PURPOSE

cifGetDataBlockFileOffsetByIndex retrieves the offset into the source file in which the target data block begins.

RECEIVES

dataBlockIndex zero-based index of the target data block

RETURN VALUE

Source file offset or the value -1 for failure.

REMARKS

See also: cifGetDataBlockFileOffset



Olivera Tosic
6/17/2002