Kernel32ZeroMemory(IntPtr, UInt32) Method
Fills a block of memory with zeros.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", SetLastError = true)]
public static void ZeroMemory(
IntPtr address,
uint size
)
<DllImportAttribute("Kernel32.dll", SetLastError := true>]
Public Shared Sub ZeroMemory (
address As IntPtr,
size As UInteger
)
Dim address As IntPtr
Dim size As UInteger
Kernel32.ZeroMemory(address, size)
public:
[DllImportAttribute(L"Kernel32.dll", SetLastError = true)]
static void ZeroMemory(
IntPtr address,
unsigned int size
)
[<DllImportAttribute("Kernel32.dll", SetLastError = true)>]
static member ZeroMemory :
address : IntPtr *
size : uint32 -> unit
No code example is currently available or this language may not be supported.
Parameters
- address IntPtr
-
A pointer to the starting address of the block of memory to fill with zeros.
- size UInt32
-
The size of the block of memory to fill with zeros, in bytes.