DLLCallThe DllCall functions are unlike all other WIL functions. They are designed to allow sophisticated users to either write their own extensions to the WIL language (using the Windows SDK), to call third party Dlls, or to access the Windows APIs directly. |
Function list
|
DllCall( dllfilename/dllhandle, returntype:entrypoint [ ,paramtype:param... ] )
Calls an external Dll.
DllCallbackCreate( UDF-name, return-type, parameter-types )
Associates a user defined function or subroutine with a callback handle.
DllCallbackDestroy( handle )
Releases all resources associated with callback handle created by the DllCallbackCreate function.
DllCallCdecl( dllfilename/dllhandle, returntype:entrypoint [ ,paramtype:param... ] )
Calls an external DLL using the Cdecl calling convention.
DllFree( dllhandle )
Frees a Dll that was loaded via the DllLoad function.
DllHinst( partial-winname )
Obtains an application instance handle for use in DllCall's when required.
DllHwnd( partial-winname )
Obtains a window handle for use in DllCall's when required.
Returns the most recent error returned by a DllCall to a Win32 API.
DllLoad( dllname )
Loads a Dll for later use via the DllCall function.
DllStructAlloc( member-descriptor [, memory-address ] )
Create a Dll Structure handle to an entry in the WIL Structure descriptor table.
DllStructFree( structure-handle )
Frees all resources associated with a DLL structure handle.
DllStructPeek( structure-handle, member-name )
Retrieves the value of a member of a DLL structure represented by a structure handle.
DllStructPoke( structure-handle, member-name, member-value )
Set the value of a member of a Dll structure represented by a structure handle.
IntControl( 96, 0, 0, 0, 0 )
Frees all resources associated with all callback handles created by the DllCallbackCreate function.
IntControl( 97, 0, 0, 0, 0 )
Frees all resources associated with all Dll Structure handles created by the DllStructAlloc function.
IntControl( 98, p1, p2, 0, 0 )
Obtain information about a DLL structure handle.