Documentation  |   Table of Contents   |  < Previous   |  Next >  

76    PalmCompatibility.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

This header file was provided in the Palm OS Garnet SDK largely so that you could postpone modifying your application to use the latest data types. As part of the process of turning your application into a full-fledged Palm OS Cobalt application, you should perform the appropriate search-and-replace operations to use the data types used by the Palm OS Cobalt APIs.

Deleted APIs ^TOP^

Table 76.1  Deleted macros 

Deleted API

Use instead

EIGHTWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

ELEVENWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

FIVEWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

FOURWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

NINEWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

ONEWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

ScrDisplayMode()

WinScreenMode()

ScrInit()

Nothing. The function that this was mapped to, WinScreenInit(), was documented as "System Use Only."

SEVENWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

SIXWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

TENWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

THREEWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

TWELVEWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

TWOWORD_INLINE()

Inline the function as instructed by your compiler's documentation.

Table 76.2  Deleted types 

Deleted API

Use instead

BooleanPtr

Boolean *

Byte

uint8_t

BytePtr

uint8_t *

CharPtr

char *

DWord

uint32_t

DWordPtr

uint32_t *

Handle

MemHandle

Int

int16_t

IntPtr

int16_t *

Long

int32_t

LongPtr

int32_t *

Ptr

MemPtr

SByte

int8_t

SBytePtr

int8_t *

SChar

int8_t

SCharPtr

int8_t *

SDWord

int32_t

SDWordPtr

int32_t *

Short

int16_t

ShortPtr

int16_t *

SWord

int16_t

SWordPtr

int16_t *

UChar

uint8_t

UCharPtr

uint8_t *

UInt

uint16_t

UInt16Ptr

uint16_t *

UIntPtr

uint16_t *

ULong

uint32_t

ULongPtr

uint32_t *

UShort

uint16_t

UShortPtr

uint16_t *

VoidHand

MemHandle

VoidPtr

MemPtr

WCharPtr

uint16_t *

Word

uint16_t

WordPtr

uint16_t *

Table 76.3  Deleted #defines 

Deleted API

Use instead

countryCount

countryFirst

countryLast

countryNameLength

currencyNameLength

currencySymbolLength

dayFullNamesStrID

daysOfWeekLongStrListID

daysOfWeekShortStrListID

daysOfWeekStdStrListID

daysOfWeekStrID

expErrInvalidSlotRefNumber

ExpMediaType_Any

ExpMediaType_CompactFlash

ExpMediaType_MacSim

ExpMediaType_MemoryStick

ExpMediaType_MultiMediaCard

ExpMediaType_PoserHost

ExpMediaType_RAMDisk

ExpMediaType_SecureDigital

ExpMediaType_SmartMedia

FSFileAttributesGet

FSFileAttributesSet

FSFileDateGet

FSFileDateSet

fsFilesystemType_AFS

fsFilesystemType_EXT2

fsFilesystemType_FAT

fsFilesystemType_FFS

fsFilesystemType_HFS

fsFilesystemType_HFSPlus

fsFilesystemType_HPFS

fsFilesystemType_MFS

fsFilesystemType_NFS

fsFilesystemType_Novell

fsFilesystemType_NTFS

fsFilesystemType_VFAT

fsOriginBeginning

fsOriginCurrent

fsOriginEnd

FSVolumeLabelGet

FSVolumeLabelSet

FS_LIB_APIVersion

invalidSlotRefNum

languageCount

languageFirst

languageLast

monthFullNamesStrID

monthNamesLongStrListID

monthNamesShortStrListID

monthNamesStdStrListID

monthNamesStrID

scrAND

scrANDNOT

scrCopy

scrCopyNOT

scrDisplayModeGet

scrDisplayModeGetDefaults

scrDisplayModeGetSupportedDepths

scrDisplayModeGetSupportsColor

scrDisplayModeSet

scrDisplayModeSetToDefaults

ScrOperation

scrOR

scrXOR

SlotDrvr_LIB_APIVersion

Slot_SECTOR_SIZE

sysResIDCountries

sysResTCountries

VFSFileAttributesGet

VFSFileAttributesSet

VFSFileDateGet

VFSFileDateSet

VFSMountClass_Simulator

VFSMountClass_SlotDriver

VFSVolumeLabelGet

VFSVolumeLabelSet