C# Class IronPython.Modules.NativeFunctions

Native functions used for exposing ctypes functionality.
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
GetMemMoveAddress ( ) : IntPtr
GetMemSetAddress ( ) : IntPtr
LoadDLL ( string filename, int flags ) : IntPtr
LoadFunction ( IntPtr module, IntPtr ordinal ) : IntPtr
LoadFunction ( IntPtr module, string functionName ) : IntPtr

Private Methods

Méthode Description
Calloc ( IntPtr size ) : IntPtr
CopyMemory ( IntPtr destination, IntPtr source, IntPtr Length ) : void
FreeLibrary ( IntPtr hModule ) : bool
GetProcAddress ( IntPtr module, IntPtr ordinal ) : IntPtr
GetProcAddress ( IntPtr module, string lpFileName ) : IntPtr
LoadLibrary ( string lpFileName ) : IntPtr
LocalAlloc ( uint flags, IntPtr size ) : IntPtr
MemSet ( IntPtr dest, byte value, IntPtr length ) : IntPtr

Helper function for implementing memset. Could be more efficient if we could P/Invoke or call some otherwise native code to do this.

MoveMemory ( IntPtr dest, IntPtr src, IntPtr length ) : IntPtr
RtlMoveMemory ( IntPtr Destination, IntPtr src, IntPtr length ) : void
SetLastError ( int errorCode ) : void
dlopen ( string filename, int flags ) : IntPtr
dlsym ( IntPtr handle, string symbol ) : IntPtr

Method Details

GetMemMoveAddress() public static méthode

public static GetMemMoveAddress ( ) : IntPtr
Résultat System.IntPtr

GetMemSetAddress() public static méthode

public static GetMemSetAddress ( ) : IntPtr
Résultat System.IntPtr

LoadDLL() public static méthode

public static LoadDLL ( string filename, int flags ) : IntPtr
filename string
flags int
Résultat System.IntPtr

LoadFunction() public static méthode

public static LoadFunction ( IntPtr module, IntPtr ordinal ) : IntPtr
module System.IntPtr
ordinal System.IntPtr
Résultat System.IntPtr

LoadFunction() public static méthode

public static LoadFunction ( IntPtr module, string functionName ) : IntPtr
module System.IntPtr
functionName string
Résultat System.IntPtr