Show / Hide Table of Contents

Class GCPin

Wrapper for pinned allocation using .

Inheritance
Object
GCPin
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.dll
Syntax
public class GCPin : IDisposable

Constructors

GCPin(Object)

Creates a new instance of GCPin.

Declaration
public GCPin(object Item)
Parameters
Object Item

Properties

Pointer

to pinned resource.

Declaration
public IntPtr Pointer { get; }
Property Value
IntPtr

Methods

CreateStreamHelper(Func<IntPtr, Int32>, Object)

Create Stream Helper method.

Declaration
public static int CreateStreamHelper(Func<IntPtr, int> Function, object Memory)
Parameters
Func<IntPtr, Int32> Function

The Stream Creation function.

Object Memory

The to pin and pass to Function.

Returns
Int32

The Handle returned by Function.

Dispose()

Frees the pinned resource.

Declaration
public void Dispose()
Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx