|
From: Daniel G. <sp...@ho...> - 2003-02-27 12:06:18
|
typedef struct _MyStruct
{
//...Data
} MyStruct, FAR * LPMYSTRUCT
My questions are
1) Why is it _MyStruct at the top? Is that the structure's real name and
MyStruct is the typedef'd name?
2) I know about FAR pointers, but why is a pointer needed here? Why don't I
just put MyStruct* LPMYSTRUCT; in my code?
Following from this, I see
#define GetMyStructProperties(lpdm) ((LPMYSTRUCT)(lpdm))
and the function is called often. What is going on?
_________________________________________________________________
Stay in touch with MSN Messenger http://messenger.msn.co.uk
|