English
Online-Documentation

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

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

Deklaration:

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

Parameter:

P:L1 an combination following Konstanten:
~GMEM_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 ~GMEM_MOVEABLE or ~GMEM_DISCARDABLE combined go

~GMEM_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.

~GPTR = $40
~GHND = $42
~GMEM_DDESHARE = $2000
~GMEM_DISCARDABLE = $100, can't with ~GMEM_FIXED combined go

~GMEM_NOCOMPACT = $10
~GMEM_NODISCARD = $20
~GMEM_SHARE = $2000
~GMEM_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

2.101 Views

Untitledvor 0 min.
p.specht09/21/20
Ernst04/27/16
Michael Borowiak12/22/12

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