Navigation:  Reference > Functions By Category > Peek and Poke >

PokeDWord()

Previous pageReturn to chapter overviewNext page

Retrieve the value of one or more DWORDs from the memory buffer pointed by <pMem> starting at the position <nShift>.

 

Syntax:

PokeDWord(<pMem>,[[@]<nShift>],<nValue>,...) -> <nBytesWriten>

PokeDWord(<pMem>,[[@]<nShift>],<aValues>) -> <nBytesWritten>

 

Parameters:

<pMem>

Base pointer to the memory buffer.

 

<nShift>

Zero based starting position within <pMem>. Is this parameter is passed by reference will be increased with the number of bytes retrieved, to reuse it in subsequent calls to Peek...() functions.

 

<nValue>, ...

Numeric DWORD value to write at <pMem>+<nShift>. You can provide more parameters to write multiple DWORDs in a single call.

 

<aValues>

Array of numeric DWORD values to write at <pMem>+<nShift> and subsequent positions.

 

Return Value:

Number of written bytes.