DBUnGetItem
DBUnGetItem Reverse last call to DBGetItem
#include <DatabaseAccess.h> Data Access Manager
OSErr DBUnGetItem( sessID, asyncPB);
long sessID ; is the session ID
DBAsyncParmBlkPtr asyncPB; is a pointer to the asynchronous parameter
block
returns Error Code; 0=no error
The DBUnGetItem function reverses the effect of the last call to the
DBGetItem function, in the sense that the next time you call the DBGetItem
function it retrieves the same item a second time. It does not remove the
just- retrieved data item from the input buffer. The DBUnGetItem function
can reverse the effect of only one call to the DBGetItem function; you cannot
use it to step back through several previously retrieved data items.
sessID is the session ID that was returned by the DBInit function.
asyncPB is a pointer to the asynchronous parameter block. If you do not want
to call the function asynchronously, set this parameter to NIL
Returns: an operating system Error Code.
noErr (0) No error
rcDBError (-802) Error executing function
rcDBBadSessID -(806) Session ID is invalid
rcDBAsyncNotSupp (-809) The database extension does not support asynchronous
calls
rcDBPackNotInited (-813) The InitDBPack function has not yet been called