These macros define what is meant ? How to understand ?

Category: VC/MFC -> Foundation Classes Author: yw20690279 Date: 2007-10-09 18:07:04
 
yw20690279
2007-10-09 18:07:04
# define   DECLARE_HANDLE (name)   struct   name ## __   {  int   unused;  };   typedef   struct   name ## __   * name
## __   What is the ?

# define   HANDLE_UM_NOTIFYPUSHED (hwnd,   wParam,   lParam,   fn)   \
        ((fn) ((hwnd ), (int) (LOWORD (wParam)), (int) (HIWORD (wParam))),  ? what 0L)
0L is
ascai
2007-10-09 18:10:50
the first macro is to define when the handle use :

DECLARE_HANDLE (HDC) into struct   HDC __   {  int   unused;  };   typedef   struct   HDC __   * HDC
this defines handle HDC.

second macro should be well understood .
wgs03wgs1
2007-10-09 18:16:34
These macros define what is meant ? how to understand ?