did anyone notice before how the DECLARE_HANDLE macro works? It is used to declare the handle data types and is defined as follows:
Does anyone have an idea why MS uses that weird way to declare handles?Code:#define DECLARE_HANDLE(name) \ struct _##name {int unused; }; typedef struct _##name * name;




CornedBee
Reply With Quote