Functions.MemDWord 方法 |
命名空间: 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) // 一个指针 4 ? MemDWord(pszC, Bin2DW("EFGH"), 1) 5 // 模式未在 pszC 的第一个 DWord 中找到 6 // 0000:0000