Documentation  |   Table of Contents   |  < Previous   |  Next >  

43    FileStream.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

The card number parameter has been removed from those functions that took a card number.

Because databases in Palm OS Cobalt are uniquely identified by a combination of name and creator ID (rather than just their name, as in previous Palm OS releases), a creator ID parameter has been added to FileDelete().

Modified APIs ^TOP^

Table 43.1  Modified functions

Modified API

Description of change

status_t FileDelete (const char *, uint32_t)

The card number parameter has been removed. Because databases in Palm OS Cobalt are uniquely identified by a combination of name and creator ID (rather than just their name, as in previous Palm OS releases), a creator ID parameeter has been added.

FileHand FileOpen (const char *, uint32_t, uint32_t, uint32_t, status_t *)

The card number parameter has been removed.

Unchanged APIs ^TOP^

Table 43.2  Unchanged functions 

FileClose()

FileControl()

FileReadLow()

FileSeek()

FileTell()

FileTruncate()

FileWrite()

Table 43.3  Unchanged macros

FileClearerr()

FileDmRead()

FileEOF()

FileError()

FileFlush()

FileGetLastError()

FileRead()

FileRewind()

Table 43.4  Unchanged types

FileHand

Table 43.5  Unchanged #defines

fileErr...

fileModeAllFlags

fileModeAnyTypeCreator

fileModeAppend

fileModeDontOverwrite

fileModeExclusive

fileModeLeaveOpen

fileModeReadOnly

fileModeReadWrite

fileModeTemporary

fileModeUpdate

fileNullHandle

Table 43.6  Unchanged enumerated types

FileOpEnum

FileOriginEnum