AnsiMemoryPos
Locates the position of a string value in a memory buffer using Ansi string comparisions.
function AnsiMemoryPos(const ASubStr: String; MemBuff: PChar; MemorySize: Integer): Integer;
Unit
Parameters
const ASubStr: String
Value to locate in the buffer.
MemBuff: PChar
Memory buffer to be searched.
MemorySize: Integer
Size of the memory buffer to be searched.
Description
AnsiMemoryPos is an Integer function used to locate the string value in ASubStr in the memory buffer specifed by MemBuff and MemorySize. AnsiMemoryPos calls
AnsiPosIdx to determine the return value for the function.