C# Class libusbK.KLIB_HANDLE

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid, IKLIB_HANDLE
Mostra file Open project: nikkov/Win-Widget

Public Methods

Method Description
GetContext ( ) : IntPtr
SetCleanupCallback ( KLIB_HANDLE_CLEANUP_CB CleanupCallback ) : bool
SetContext ( IntPtr ContextValue ) : bool

Protected Methods

Method Description
KLIB_HANDLE ( ) : System
KLIB_HANDLE ( IntPtr handlePtrToWrap ) : System
KLIB_HANDLE ( bool ownsHandle ) : System
ReleaseHandle ( ) : bool

Method Details

GetContext() public method

public GetContext ( ) : IntPtr
return System.IntPtr

KLIB_HANDLE() protected method

protected KLIB_HANDLE ( ) : System
return System

KLIB_HANDLE() protected method

protected KLIB_HANDLE ( IntPtr handlePtrToWrap ) : System
handlePtrToWrap System.IntPtr
return System

KLIB_HANDLE() protected method

protected KLIB_HANDLE ( bool ownsHandle ) : System
ownsHandle bool
return System

ReleaseHandle() protected abstract method

protected abstract ReleaseHandle ( ) : bool
return bool

SetCleanupCallback() public method

public SetCleanupCallback ( KLIB_HANDLE_CLEANUP_CB CleanupCallback ) : bool
CleanupCallback KLIB_HANDLE_CLEANUP_CB
return bool

SetContext() public method

public SetContext ( IntPtr ContextValue ) : bool
ContextValue System.IntPtr
return bool