Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "CopyMemory" in [All]

kernel32

.

   Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal Destination As IDSECTOR, ByVal Source As Byte, ByVal Length As Long)

Interfaces

.

    ofCopyMemory = 0x00000002,     // Open scope with memory. Ask metadata to maintain its own copy of memory.

ntdll

.

    public static extern void CopyMemory(HandleRef destData, HandleRef srcData, int size);

.

    Public Shared Sub CopyMemory(ByVal destData As HandleRef, ByVal srcData As HandleRef, ByVal size As Integer)

msvcrt

.

    Public Shared Sub CopyMemory(ByVal dest As IntPtr, ByVal src As IntPtr, ByVal count As Integer)

.

        CopyMemory(pnt2, pnt1, size * 2)

urlmon

.

[DllImport("kernel32.dll", EntryPoint = "CopyMemory", SetLastError = false)]

.

public static extern void CopyMemory(IntPtr dest, IntPtr src, uint count);

.

Public Declare Auto Sub CopyMemory lib "kernel32.dll" Alias "CopyMemory"(destination As IntPtr, source As IntPtr, length As UInteger)

.

<DllImport("kernel32.dll", SetLastError:= True, EntryPoint:= "CopyMemory")>

.

Public Shared Sub CopyMemory(destination As IntPtr, source As IntPtr, length As UInteger)

.

    //   CopyMemory(memoryTarget,memorySource,size);

.

     [DllImport("kernel32.dll", SetLastError=true, EntryPoint="CopyMemory")

.

     public static void CopyMemory(void* destination, void* source, uint length);

.

     fixed (byte* pd = dst){ fixed(int* ps = data){ CopyMemory(pd, ps, size); } }

.

   Public Module CopyMemoryTest

.

      Public Declare Auto Sub CopyMemory lib "kernel32.dll" Alias "CopyMemory"(destination As IntPtr, source As IntPtr, length As UInteger)

.

    CopyMemory(targetPtr, sourcePtr, length)

.
Documentation
[CopyMemory] on MSDN
.

Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long)

.

                CopyMemory Buffer(0), ByVal lpwString, nLen


 
Access PInvoke.net directly from VS: