C# Class Imazen.WebP.Extern.LoadLibrary

Afficher le fichier Open project: imazen/libwebp-net

Méthodes publiques

Méthode Description
AutoLoad ( string name, string searchFolders, bool throwNotFound, bool throwExceptions ) : bool

Looks for 'name' inside /x86/ and /x64/ subfolders of 'folder', depending on executing architecture.

AutoLoadNearby ( string name, bool throwFailure ) : bool

Looks for 'name' inside /x86/ or /x64/ (depending on arch) subfolders of known assembly locations

EnsureLoadedByPath ( string fullPath, bool throwException ) : bool
LoadByPath ( string fullPath, bool throwException ) : IntPtr

Calls LoadLibraryEx with (Search DLL Load Dir and System32) flags. May increment reference count. Use EnsureLoadedByPath instead if you don't need a pointer.

LoadWebPOrFail ( ) : void

Private Methods

Méthode Description
LoadLibraryEx ( string lpFileName, IntPtr hReservedNull, uint dwFlags ) : IntPtr

Method Details

AutoLoad() public static méthode

Looks for 'name' inside /x86/ and /x64/ subfolders of 'folder', depending on executing architecture.
public static AutoLoad ( string name, string searchFolders, bool throwNotFound, bool throwExceptions ) : bool
name string
searchFolders string
throwNotFound bool
throwExceptions bool
Résultat bool

AutoLoadNearby() public static méthode

Looks for 'name' inside /x86/ or /x64/ (depending on arch) subfolders of known assembly locations
public static AutoLoadNearby ( string name, bool throwFailure ) : bool
name string
throwFailure bool
Résultat bool

EnsureLoadedByPath() public static méthode

public static EnsureLoadedByPath ( string fullPath, bool throwException ) : bool
fullPath string
throwException bool
Résultat bool

LoadByPath() public static méthode

Calls LoadLibraryEx with (Search DLL Load Dir and System32) flags. May increment reference count. Use EnsureLoadedByPath instead if you don't need a pointer.
public static LoadByPath ( string fullPath, bool throwException ) : IntPtr
fullPath string
throwException bool
Résultat System.IntPtr

LoadWebPOrFail() public static méthode

public static LoadWebPOrFail ( ) : void
Résultat void