English
Regulars table & Café

RtlZeroMemory.

 


Description:

RtlZeroMemory filling a Speicherbereich with Nullbytes.




Deklaration:

DEF @ZeroMemory(2) ! Kernel32,RtlZeroMemory




Parameter:

1.Parameter: with nobodies To füllende Speicheradresse or Memory-Variable.
2.Parameter: Number of To überschreibenden Bytes.



Return Value:

no Return Value.


Examples:

DEF @ZeroMemory(2) ! "Kernel32","RtlZeroMemory"
Declare area#
Dim area#,4
long area#,0=8672488
Print @Long(area#,0)
@ZeroMemory(area#,4)
Print @Long(area#,0)
Waitinput
 
03/04/05  
 




funkheld
Yes, this is Yes a flinke routine, what not everything so for laymen gives.

Thank you.

greeting
 
05/12/12  
 




Jörg
Sellmeyer
If one aimed single Speicherstellen delete wants, is the sure useful. otherwise is Clear here twice so quick:
DEF @ZeroMemory(2) ! "Kernel32","RtlZeroMemory"
Declare area#,time&,e%
Dim area#,4
Randomize

WhileLoop 15

    Time& = &gettickcount
    e% = time& Mod 2

    WhileLoop 10000

        long area#,0=Rnd(8672488)

        If e%

            @ZeroMemory(area#,4)

        Else

            clear area#

        EndIf

    Wend

    Print &gettickcount - time&,If(e%,"ZeroMemory","Clear")

Wend

Waitinput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/13/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.704 Views

Untitledvor 0 min.
mein06/02/13
Sebastian Sprenger03/05/13
RudiB.11/09/12
Georg Hovenbitzer06/28/12
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