Monday June 02 1997 16:22, Alexandre Ostanine wrote to All:
AO> Is it a Segment Selector of the allocated object
No.
AO> or it is a special structure pointer that points to the object
No.
Simplified, WinAPI HANDLE is an index for Windows-internal table of pointers
to real objects. Thus, when OS relocates object, it also modifies the
corresponding entry in the table of pointers, but HANDLE (index) remains
unmodified. Would you like to see example code?
Alexander
--- xMail/beta
---------------
* Origin: ASH Project, Moscow (fidonet 2:5020/59)
|