//-----------------------------------------------------------------------
// 
//     Copyright (c) Microsoft Corporation.
// 
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
    using System;
    /// 
    /// Callback used by JetEnumerateColumns to allocate memory for its output buffers.
    /// 
    /// Context given to JetEnumerateColumns.
    /// 
    /// If non-zero, a pointer to a memory block previously allocated by this callback.
    /// 
    /// 
    /// The new size of the memory block (in bytes). If this is 0 and a memory block is
    /// specified, that memory block will be freed.
    /// 
    /// 
    /// A pointer to newly allocated memory. If memory could not be allocated then
    ///  should be returned.
    /// 
    [CLSCompliant(false)]
    public delegate IntPtr JET_PFNREALLOC(IntPtr context, IntPtr memory, uint requestedSize);
}