C# Class PInvoke.User32.SafeEventHookHandle

Represents a windows event Hook that can be removed with UnhookWinEvent.
Inheritance: System.Runtime.InteropServices.SafeHandle
Afficher le fichier Open project: AArnott/pinvoke

Méthodes publiques

Свойство Type Description
Null SafeEventHookHandle

Méthodes publiques

Méthode Description
SafeEventHookHandle ( ) : System

Initializes a new instance of the SafeEventHookHandle class.

SafeEventHookHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System

Initializes a new instance of the SafeEventHookHandle class.

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Method Details

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

SafeEventHookHandle() public méthode

Initializes a new instance of the SafeEventHookHandle class.
public SafeEventHookHandle ( ) : System
Résultat System

SafeEventHookHandle() public méthode

Initializes a new instance of the SafeEventHookHandle class.
public SafeEventHookHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System
preexistingHandle System.IntPtr An object that represents the pre-existing handle to use.
ownsHandle bool /// to have the native handle released when this safe handle is disposed or finalized; /// otherwise. ///
Résultat System

Property Details

Null public_oe static_oe property

A handle that may be used in place of IntPtr.Zero.
public static SafeEventHookHandle Null
Résultat SafeEventHookHandle