English
Regulars table & Café

RtlMoveMemory.

 


Description:

RtlMoveMemory copies a Speicherblock of a place to a others.




Deklaration:

DEF @CopyMemory(3) !kernel32,RtlMoveMemory




Parameter:

1.Parameter: address (of/ one variables) or a Bereichvariable, to the the Speicherbereich copies go should.
2.Parameter: address (of/ one variables) or a Bereichvariable, from the the Speicherbereich herauskopiert go should.
3.Parameter: Number of To kopierenden Bytes.



Return Value:

The function has none Return Value.


Examples:

DEF @CopyMemory(3) !"kernel32","RtlMoveMemory"
Declare number#,Zeichenkette$
Dim number#,4
Windowstyle 31
Windowtitle "Speicherbereich kopieren"
Window 0,0-640,440
Print "String to the copy: "+Zeichenkette$
clear number#
Long number#,0=65
LET Zeichenkette$="    "
@CopyMemory(@addr(Zeichenkette$),number#,4)
Dispose number#
Print "String to the copy: "+Zeichenkette$

While 0=0

    Waitinput

Wend

 
03/26/05  
 




Jörg
Sellmeyer
Hm - what make I because, if I only a neckline a area having wants? gives it a Possibility a Offsetadresse anzugeben?
If I means from area A# everything of address 10 - address 100 in a others area copy wants.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/18/11  
 




RGH
how'bout with
@copyMemory(A#+10,target#,91)
?

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/18/11  
 



Roland was faster ...

simply to address add -
long addr&,10=20
'istgleich
long addr&+10,0=20

Sinngemäß
mov ebx,address
add ebx,offset
mov eax,[ebx]//läd 32bit wide worth of address ebx in eax
 
05/18/11  
 




Jörg
Sellmeyer
Ah - logical. it was still To late yesterday. thanks!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/18/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.228 Views

Untitledvor 0 min.
iF09/14/15
H.Brill09/07/14
Sebastian Sprenger03/19/13
mein08/07/11
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie