www.digitalmars.com         C & C++   DMDScript  

D - Transselector pointers ...

reply ~Gh0sT~ <~Gh0sT~_member pathlink.com> writes:
What about long pointers in D?
How I may receive data from different selector?

This is a fragment of "Win32 Programmer's Reference" (about CBTProc):

.....

LRESULT CALLBACK CBTProc(
int  nCode,	// hook code
WPARAM  wParam,	// depends on hook code
LPARAM  lParam 	// depends on hook code
);

........

nCode: HCBT_ACTIVATE
wParam: Specifies the handle of the window about to be activated.
lParam: Specifies a LONG POINTER to a CBTACTIVATESTRUCT structure containing the
handle of the active window and specifies whether the activation is changing
because of a mouse click.  

.......

~Gh0sT~ [frankenstein fastmail.fm]
May 26 2003
parent "Walter" <walter digitalmars.com> writes:
"~Gh0sT~" <~Gh0sT~_member pathlink.com> wrote in message
news:batl40$23ns$1 digitaldaemon.com...
 What about long pointers in D?
 How I may receive data from different selector?

A "long pointer" under Win32 is the same as a short pointer, i.e. a regular 32 bit pointer. The term "long pointer" is a vestige of the 16 bit world.
Jun 01 2003