what LP stand for?

Jun 17, 2009 at 12:06pm
LPDWORD
LPWORD

what LP stand for?
what D standm for?

what is the range of LPDWORD,LPWORD can be?

do any site introduce this?

thnaks
Last edited on Jun 17, 2009 at 12:09pm
Jun 17, 2009 at 12:15pm
Jun 17, 2009 at 2:40pm
LP is from the days when there were both "long" pointers and short pointers (something to do with memory segmentation).

DWORD is from the days when a "word" was 16 bits, so a "double word" would be 32.

WinAPI is full of "legacy" garbage like that. Combined with the despicable "Hungarian" notation, it really sucks.
Jun 17, 2009 at 7:46pm
Legacy of old version windows.

At 32bit version, Long Pointer == Pointer == 32bit address.
Topic archived. No new replies allowed.