menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Memory - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Memory

    This class contains some Win32 API functions for memory operations.

    Inheritance
    System.Object
    Memory
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public sealed class Memory

    Constructors

    Memory()

    Declaration
    public Memory()

    Methods

    CopyMemory(Byte*, Byte*, Int32)

    The CopyMemory function copies a block of memory from one location to another.

    Declaration
    [CLSCompliant(false)]
    public static void CopyMemory(byte *ptrDest, byte *ptrSource, int iSize)
    Parameters
    Type Name Description
    System.Byte* ptrDest

    Pointer to the starting address of the copied block's destination.

    System.Byte* ptrSource

    Pointer to the starting address of the block of memory to copy.

    System.Int32 iSize

    Size of the block of memory to copy, in bytes.

    CopyMemory(IntPtr, IntPtr, Int32)

    The CopyMemory function copies a block of memory from one location to another.

    Declaration
    public static void CopyMemory(IntPtr ptrDest, IntPtr ptrSource, int iSize)
    Parameters
    Type Name Description
    System.IntPtr ptrDest

    Pointer to the starting address of the copied block's destination.

    System.IntPtr ptrSource

    Pointer to the starting address of the block of memory to copy.

    System.Int32 iSize

    Size of the block of memory to copy, in bytes.

    RtlMoveMemory(IntPtr, IntPtr, Int32)

    The MoveMemory function moves a block of memory from one location to another.

    Declaration
    public static void RtlMoveMemory(IntPtr ptrDest, IntPtr ptrSource, int iSize)
    Parameters
    Type Name Description
    System.IntPtr ptrDest

    Pointer to the starting address of the move destination.

    System.IntPtr ptrSource

    Pointer to the starting address of the block of memory to be moved.

    System.Int32 iSize

    Size of the block of memory to move, in bytes.

    RtlZeroMemory(IntPtr, Int32)

    The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

    Declaration
    public static void RtlZeroMemory(IntPtr ptrDest, int iSize)
    Parameters
    Type Name Description
    System.IntPtr ptrDest

    Pointer to the memory to be filled with zeros.

    System.Int32 iSize

    Specifies the number of bytes to be zeroed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved