![]() |
PtrToXHand |
||||
Header: | MacMemory.h | Carbon status: | Supported | |
Copies data referenced by a pointer to an existing relocatable block.
OSErr PtrToXHand ( const void *srcPtr, Handle dstHndl, SInt32 size );
The address of the first byte to copy.
A handle to an existing relocatable block.
The number of bytes to copy.
A result code. A result code.
The PtrToXHand function copies the specified number of bytes from the location specified by srcPtr to the handle specified by dstHndl.
Because PtrToXHand affects memory, you should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.