Now we are going to create a Message Box Function which is simple
Type the code below above your DLLMAIN function.
int MsgBox(char* Message, char* Title)
int ret = MessageBoxA(0,Message, Title, MB_OK);
This functions is a simple function of which shows a messagebox.
the MessageBoxA () function is located in the header windows.h( i will talk about that later). The value obtained by MessageBoxA() is then stored in an Integer in ret, then the function returns as ret making MsgBox equal ret.
The function MessageBoxA is explained in more detail here