Difference between revisions of "Lua:inModule"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' inModule(''address'')
 
'''function''' inModule(''address'')
  
 
Returns true if the provided address resides inside a module (example: .exe or .dll)
 
Returns true if the provided address resides inside a module (example: .exe or .dll)
  
 +
If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error.  With errorOnLookupFailure set to false, it will return false.
  
 
===Function Parameters===
 
===Function Parameters===
Line 16: Line 18:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[inSystemModule]]
+
 
* [[Lua]]
+
=== Related Functions ===
 +
* [[Lua:inSystemModule|inSystemModule]]

Latest revision as of 00:44, 25 January 2018

function inModule(address)

Returns true if the provided address resides inside a module (example: .exe or .dll)

If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error. With errorOnLookupFailure set to false, it will return false.

Function Parameters[edit]

Parameter Type Description
address CEAddressString The address to look up


See also[edit]

Related Functions[edit]