smWrite( )

Writes specified memory to another location.

Interface
PODSMemoryMgr
IDL definition
PODSErr smWrite(
  any dest, 
  PODSUInt32 offset, 
  any src, 
  PODSUInt32 length
);
JavaScript synopsis

Not applicable

C synopsis
PODSErr PODSsmWrite(
  PODSMemoryMgr*, 
  void* dest, 
  PODSUInt32 offset, 
  void* src, 
  PODSUInt32 length
);
Parameters
  • memmgr   The PODSMemoryMgr object.

  • dest   [in] Pointer to destination to copy to.

  • offset   [in] Memory offset from destination.

  • src   [in] Pointer to source to copy from.

  • length   [in] Number of bytes to write.

Returns

On Palm OS, returns 0 if successful, -1 otherwise.

On other platforms, return value is undefined.

See also

smMemCopy( )