InverseMemCopy (FUN)

FUNCTION InverseMemCopy

Function copies memory by inversing the bits.

This function copies “dwSize” number of bytes

from adress “pbySrc” to “pbyDst”, while every single bit within this buffer is inverted.

Note, that this function (similar to memcpy in C) makes no additional checks of input parameters. The caller has to take care about the validity of pointers and sizes, passed to this function.

As the function implements no error handling, the exact count of “dwSize” bytes is copied to “pbyDst”.

InOut:

Scope

Name

Type

Comment

Input

pbyDst

POINTER TO BYTE

Pointer to destination memory

pbySrc

POINTER TO BYTE

Pointer to source memory

dwSize

DWORD

Number of bytes to copy