## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHExchangeMem - Format

This function exchanges the contents of two regions of linear address space . Overlapping regions are not supported.

    #include mvdm.h

    PVOID    Source;       /*  Source data address */

    PVOID    Destination;  /*  Destination address */

    ULONG    NumBytes;     /*  Number of bytes to be exchanged */

    BOOL     rc;

    rc = VDHExchangeMem(Source, Destination, NumBytes);