Functions.MemLong 方法 |
命名空间: XSharp.RT
FUNCTION MemLong( ptrBuffer AS IntPtr, liValue AS LONG, dwCount AS DWORD ) AS IntPtr
public static IntPtr MemLong( IntPtr ptrBuffer, int liValue, uint dwCount )
1FUNCTION Start() 2 LOCAL ptrLI := "ABCDEFGHIJ" AS PSZ 3 ? MemLong(ptrLI, Bin2L("EFGH", 2)) // 一个指针 4 ? MemLong(ptrLI, Bin2L("EFGH", 1)) 5 // 在 ptrLI 的第一个长整数中未找到 0000:0000