Methods by Category

Construction

DllFunction
Constructs a DllFunction object

Initialization

Init
Initializes a DllFunction object

Calling

Call_Double
Calls the function and expects the return value to be a double-precision floating-point number.

Call_Float
Calls the function and expects the return value to be a single-precision floating-point number.

Call_Int16
Calls the function and expects the return value to be a 16-bit integer.

Call_Int32
Calls the function and expects the return value to be a 32-bit integer.

Call_Int64
Calls the function and expects the return value to be a 64-bit integer.

Call_Int8
Calls the function and expects the return value to be an 8-bit integer.

Call_IntPtr
Calls the function and expects the return value to be a signed 32-bit integer on Win32 systems and a signed 64-bit integer on Win64 systems.

Call_UIntPtr
Calls the function and expects the return value to be an unsigned 32-bit integer on Win32 systems and an unsigned 64-bit integer on Win64 systems.

Call_Void
Calls the function and expects no return value.

Call_WindowsHandle
Calls the function and expects the return value to be a Windows handle.

8-bit integer parameters

NextArgIsInt8
Declares the type of the function’s next parameter to be an 8-bit integer.

SetInt8Arg
Specifies the value for a parameter as an 8-bit integer.

16-bit integer parameters

NextArgIsInt16
Declares the type of the function’s next parameter to be a 16-bit integer.

SetInt16Arg
Specifies the value for a parameter as a 16-bit integer.

32-bit integer parameters

NextArgIsInt32
Declares the type of the function’s next parameter to be a 32-bit integer.

SetInt32Arg
Specifies the value for a parameter as a 32-bit integer.

64-bit integer parameters

NextArgIsInt64
Declares the type of the function’s next parameter to be a 64-bit integer.

SetInt64Arg
Specifies the value for a parameter as a 64-bit integer.

Single-precision floating-point parameters

NextArgIsFloat
Declares the type of the function’s next parameter to be a single-precision floating-point number.

SetFloatArg
Specifies the value for a parameter as a single-precision floating-point number.

Double-precision floating-point parameters

NextArgIsDouble
Declares the type of the function’s next parameter to be a double-precision floating-point number.

SetDoubleArg
Specifies the value for a parameter as a double-precision floating-point number.

8-bit integer array parameters

NextArgIsInt8Array
Declares the type of the function’s next parameter to be an array of 8-bit integers.

SetInt8ArrayArg
Specifies the value for a parameter as an array of 8-bit integers.

16-bit integer array parameters

NextArgIsInt16Array
Declares the type of the function’s next parameter to be an array of 16-bit integers.

SetInt16ArrayArg
Specifies the value for a parameter as an array of 16-bit integers.

32-bit integer array parameters

NextArgIsInt32Array
Declares the type of the function’s next parameter to be an array of 32-bit integers.

SetInt32ArrayArg
Specifies the value for a parameter as an array of 32-bit integers.

64-bit integer array parameters

NextArgIsInt64Array
Declares the type of the function’s next parameter to be an array of 64-bit integers.

SetInt64ArrayArg
Specifies the value for a parameter as an array of 64-bit integers.

Single-precision floating-point array parameters

NextArgIsFloatArray
Declares the type of the function’s next parameter to be an array of single-precision floating-point numbers.

SetFloatArrayArg
Specifies the value for a parameter as an array of single-precision floating-point numbers.

Double-precision floating-point array parameters

NextArgIsDoubleArray
Declares the type of the function’s next parameter to be an array of double-precision floating-point numbers.

SetDoubleArrayArg
Specifies the value for a parameter as an array of double-precision floating-point numbers.

System specific parameters

NextArgIsIntPtr
Declares the type of the function’s next parameter to be a 32-bit integer on Win32 systems and a 64-bit integer on Win64 systems.

NextArgIsWindowsHandle
Declares the type of the function’s next parameter to be a Windows handle.

SetIntPtrArg
Specifies the value for a parameter as a 32-bit integer on Win32 systems and as a 64-bit integer on Win64 systems.

SetWindowsHandleArg
Specifies the value for a parameter as a Windows handle.

String parameters

NextArgIsConstAnsiString
Declares the type of the function’s next parameter to be a null-terminated ANSI character string.

NextArgIsConstUnicodeString
Declares the type of the function’s next parameter to be a null-terminated Unicode character string.

NextArgPairIsAnsiString
Declares the function's next two parameters to be an integer buffer length and a read-write buffer containing a null-terminated ANSI character string.

NextArgPairIsUnicodeString
Declares the function's next two parameters to be an integer buffer length and a read-write buffer containing a null-terminated Unicode character string.

SetConstAnsiStringArg
Specifies the value for a parameter as a null-terminated ANSI character string.

SetConstUnicodeStringArg
Specifies the value for a parameter as a null-terminated Unicode character string.