smDup( )

Duplicate a range of memory as a constant.

Interface
PODSMemoryMgr
IDL definition
const any smDup(any ptr, PODSUInt32 size);
JavaScript synopsis

Not applicable

C synopsis
const void* PODSsmDup(
  PODSMemoryMgr* memmgr, 
  void* ptr, 
  PODSUInt32 size
);
Parameters
  • memmgr   The PODSMemoryMgr object.

  • ptr   [in] Pointer to the start position in memory to duplicate.

  • size   [in] Number of bytes to duplicate.

Returns

Copy of the specified range of memory.

See also

smMemCopy( ), smStrDup( )