Supported Browsers Home   
MGL_memcpyVIRTDST Previous   
MGL_memset Next   
External Functions Up   

MGL_memcpyVIRTSRC

Copies a block of memory as fast as possible.

Declaration

void MGLAPI MGL_memcpyVIRTSRC(
    void *dst,
    void *src,
    int n)

Prototype In

mgraph.h

Parameters

dst

Pointer to destination block

src

Pointer to source block

n

Number of bytes to copy

 

Description

This function copies a block of memory as fast as possible, and has been optimized to copy the data 32 bits at a time for maximum performance. This function is similar to the standard C library memcpy function, but can correctly handle copying of memory blocks that are larger than 64Kb in size for 16 bit real mode environments. Note also that this function is generally a lot faster than some standard C library functions.

This function is identical to MGL_memcpy except that it is virtual linear framebuffer safe, and should be used for copying data where the source pointer resides in a virtualized linear surface.

See Also

MGL_memcpy, MGL_memcpyVIRTDST

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com