Methods (4)
Namespace: SchwabenCode.QuickIO.Win32API
internal classWin32FileHandleWin32FileHandleWin32FileHandleDisposeReleaseHandle

Syntax

internal class Win32FileHandle : SafeHandleZeroOrMinusOneIsInvalid

Basetype

  • Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid

Summary

Provides a class for Win32 safe handle implementations

Uses

Methods

Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)

Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.

public void Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)

Win32FileHandle()

Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.

internal void Win32FileHandle()

Dispose(Boolean disposing)

Releases the unmanaged resources used by the Win32ApiFileHandle class specifying whether to perform a normal dispose operation.

protected void Dispose(Boolean disposing)

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected Boolean ReleaseHandle()