memory.go 402 B

1234567891011
  1. package winapi
  2. // VOID RtlMoveMemory(
  3. // _Out_ VOID UNALIGNED *Destination,
  4. // _In_ const VOID UNALIGNED *Source,
  5. // _In_ SIZE_T Length
  6. // );
  7. //sys RtlMoveMemory(destination *byte, source *byte, length uintptr) (err error) = kernel32.RtlMoveMemory
  8. //sys LocalAlloc(flags uint32, size int) (ptr uintptr) = kernel32.LocalAlloc
  9. //sys LocalFree(ptr uintptr) = kernel32.LocalFree