Reads four bytes (dword) from the memory region. Mainly is intended for using in the Visual Basic applications where the direct manipulations with the pointers is difficult.
Language
|
Description
|
C/C++
|
ULONG GetMemL ( HANDLE hIsa, ULONG MappedAddress, ULONG MemOffset );
|
Delphi
|
function GetMemL ( hIsa: THandle; MappedAddress: Longword; MemOffset: Longword ): Longword; stdcall;
|
VB
|
Function GetMemL ( ByVal hIsa As Long, ByVal MappedAddress As Long, ByVal MemOffset As Long) As Long
|
Parameters:
hIsa - the handle returned by a successful call to OpenRapidIsa ;
MappedAddress - the linear address returned by MapPhysToLinear
MemOffset - the offset value, should begin from the "0" value.
Return Value :
32-bit value from the region.
Comments:
In general, "MappedAddress" can be any valid linear pointer to the memory. But if this pointer was received from the MapPhysToLinear function then you can access physical memory also.
See also: MapPhysToLinear UnmapMemory GetMem GetMemW SetMem SetMemW SetMemL
|