English
Online-Documentation

LocalAlloc, KERNEL32 API: memory, drive, way, File

 
Alloziert a Speicherblock from the Heap, d.h. points one block virtuellem Prozessspeicher real existierenden Memory.

Deklaration:

Def LocalAlloc(2) !"kernel32", "LocalAlloc"

Parameter:

P:L1 an combination following Konstanten:
~LMEM_FIXED = $0
The address the zugewisenen Speicherbereichs in the virtual Prozessspeicher can not change and the lever enspricht the address the allocated Speichers. can't with ~LMEM_MOVEABLE or ~LMEM_DISCARDABLE combined go

~LMEM_MOVEABLE = $2, can't with ~GMEM_FIXED combined go. The address the virtual Prozessspeichers can itself change and the lever verweist on The actually Afresse.

~LPTR = $40
~LHND = $42
~LMEM_DISCARDABLE = $F00, can't with ~LMEM_FIXED combined go

~LMEM_NOCOMPACT = $10
~LMEM_NODISCARD = $20
~LMEM_ZEROINIT = $40, Initialisiert whom Speicherinhalt with zero

P:L2 Size& (Size the Speichers in byte) from Sicherheitsgründen is virtueller Prozessspeicher in 32-bit windows always lokaler memory and not global zugänglich. it exists therefore no Difference between memory, the with LocalAlloc and memory the with GlobalAlloc allocated watts!
 
08/27/06  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.940 Views

Untitledvor 0 min.
RudiB.08/17/22

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


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