DlpWriteResource(3)     System Library Functions Manual    DlpWriteResource(3)

NAME
     DlpWriteResource - write a resource to a PalmOS device

LIBRARY
     libpconn

SYNOPSIS
     #include <palm.h>
     #include <pconn/pconn.h>

     int
     DlpWriteResource(PConnection *pconn, const ubyte handle,
             const udword type, const uword id, const uword size,
             const ubyte *data);

DESCRIPTION
     DlpWriteResource writes a resource to a database on a Palm. The database
     must already be open for writing.

     handle is a database handle, as returned by DlpOpenDB(3).

     type specifies the resource's four-character type, with the first charac-
     ter in the most-significant eight bits.

     id specifies the resource ID.

     size specifies the length of the resource, in bytes.

     data points to the resource data.

RETURN VALUE
     DlpWriteResource returns 0 if successful, or a negative value otherwise.

SEE ALSO
     libpconn(3), DlpOpenDB(3), DlpWriteRecord(3).

BSD                              Aug 16, 2001                              BSD


Generated by dwww version 1.7.6.woody.1 on Wed Sep 8 21:28:51 CEST 2010.