0

what is "WINAPI" and "void far"? why we need them?

I confront with this type and I can not find understandable text for it. follow code: DWORD WINAPI foo (LPVOID lpram) ; //??? i traced them: typedef unsigned long DWORD; //it's OK! typedef void far *LPVOID; // i can't understand. #define WINAPI __stdcall // :-| #define APIENRTY WINAPI // :-0

14th May 2019, 6:36 PM
Alireza Abbasi
Alireza Abbasi - avatar
2 Answers
- 2
I don't need them.
14th May 2019, 6:46 PM
Daniel Adam
Daniel Adam - avatar