can anyone explain me this code in the header file
#define MYAPI =__stdcall
typedef unsigned long VHANDLE;
void MYAPI EntityErase (VHANDLE hEnt, BOOL bErase);
Mainly what’s MYAPI doing
thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MYAPIis called a macro. In the first phase of compilation (prepossessing phase) the compiler replaces every occurence of it by__stdcall__stdcallchanges the calling convention ofEntityErase()function, it is rather a compiler technical details so I’m not sure you should care about it.