Documentation  |   Table of Contents   |  < Previous   |  Next >  

41    FeatureMgr.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

Feature numbers are now 32-bit (unsigned) values; in Palm OS Garnet they were 16-bit values. This affects the parameter lists of nearly every Feature Manager function.

Deleted APIs ^TOP^

Table 41.1  Deleted functions

Deleted API

Use instead

FtrInit()

Nothing. This function was documented as "System Use Only."

Table 41.2  Deleted #defines

Deleted API

Use instead

ftrErrAlreadyExists

See the documentation for the affected function in the Feature Manager chapter of Exploring Palm OS: System Management.

ftrErrROMBased

See the documentation for the affected function in the Feature Manager chapter of Exploring Palm OS: System Management.

Modified APIs ^TOP^

Table 41.3  Modified functions

Modified API

Description of change

status_t FtrGet (uint32_t, uint32_t, uint32_t *)

The second parameter, the feature number, was formerly an unsigned 16-bit number.

status_t FtrPtrFree (uint32_t, uint32_t)

The second parameter, the feature number, was formerly an unsigned 16-bit number.

status_t FtrPtrNew (uint32_t, uint32_t, size_t, void **newPtrP)

The second parameter, the feature number, was formerly an unsigned 16-bit number, and the third parameter, size, used to be a UInt32.

status_t FtrPtrResize (uint32_t, uint32_t, size_t, void **newPtrP)

The second parameter, the feature number, was formerly an unsigned 16-bit number, and the third parameter, newSize, used to be a UInt32.

status_t FtrSet (uint32_t, uint32_t, uint32_t)

The second parameter, the feature number, was formerly an unsigned 16-bit number.

status_t FtrUnregister (uint32_t, uint32_t)

The second parameter, the feature number, was formerly an unsigned 16-bit number.

Unchanged APIs ^TOP^

Table 41.4  Unchanged functions

FtrGetByIndex()

Table 41.5  Unchanged #defines

ftrErr...