MemDWord Function |
|
Namespace: XSharp.RT
FUNCTION MemDWord( ptrBuffer AS IntPtr, dwValue AS DWORD, dwCount AS DWORD ) AS IntPtr
public static IntPtr MemDWord( IntPtr ptrBuffer, uint dwValue, uint dwCount )
1FUNCTION FindDWord() AS VOID 2 LOCAL pszC := "ABCDEFGHIJ" AS PSZ 3 ? MemDWord(pszC, Bin2DW("EFGH"), 2) // A pointer 4 ? MemDWord(pszC, Bin2DW("EFGH"), 1) 5 // Pattern not found in the first DWord of pszC 6 // 0000:0000