GetInksetInterval 

2.0     

Retrieves an interval from an inkset.

int GetInksetInterval( HINKSET hinkset, UINT uIndex, LPINTERVAL lpi )

Parameters

hinkset

Handle to an inkset.

uIndex

Zero-based index of an interval or IX_END.

lpi

Pointer to an INTERVAL232HBHD structure. This can be NULL if the user merely wishes to find out how many intervals are in the inkset.

Return Value

GetInksetInterval returns the number of intervals in the inkset if successful; otherwise, the return value can be one of the following negative values:

Constant

Description

ISR_ERROR

The inkset handle is bad, or a parameter error.

ISR_BADINDEX

The interval index is bad.

ISR_BADINKSET

The inkset has been corrupted or contains bad intervals.

 

Comments

An application can use GetInksetInterval to enumerate all the intervals in an inkset.

See Also

GetInksetIntervalCount, INTERVAL