IntControl 32

Syntax:

IntControl (32, address, data-type, operation, new-value)

 

Returns or sets the contents of the memory location specified by "address".

Parameters:

(i) "address" address of a memory location.

(s) "data type" specifies the type of data to be retrieved:
   "BYTE" - returns a byte
   "WORD" - returns a word
   "LONG" - returns a long integer
   "LONG64" - returns a 64-bit integer as a huge number
   "LONG_PTR" - Integer value guaranteed to be the bit size of a memory address. That is, a 32-bit integer value when used with 32-bit WinBatch and a 64-bit value when used with 64-bit WinBatch

(i) "operation" can be one of the following:
    Value Meaning
    0     Read from memory
    1     Write to memory

(s/i) "new-value" specifies the value to be written to the memory location (if "operation" == 1). It must be a single character, 32-bit integer, 64-bit integer, or huge number, corresponding to "data-type".