[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.KeyedMutex

Class KeyedMutex

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGIKeyedMutex

[Guid("9d8e1289-d7b3-465f-8126-250e349af85d")]
public class KeyedMutex : DeviceChild, IDisposable, IUnknown
Inheritance
object
KeyedMutex
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

KeyedMutex(IntPtr)

Initializes a new instance of the KeyedMutex class.

public KeyedMutex(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Acquire(long, int)

HRESULT IDXGIKeyedMutex::AcquireSync([In] unsigned longlong Key,[In] unsigned int dwMilliseconds)

public HResult Acquire(long key, int dwMilliseconds)

Parameters

key long
dwMilliseconds int

Returns

HResult

Release(long)

HRESULT IDXGIKeyedMutex::ReleaseSync([In] unsigned longlong Key)

public void Release(long key)

Parameters

key long

Operators

explicit operator KeyedMutex(IntPtr)

Performs an explicit conversion from System.IntPtr to KeyedMutex.

public static explicit operator KeyedMutex(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

KeyedMutex