Guest User

Untitled

a guest
May 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. WINUSERAPI
  2. int
  3. WINAPI
  4. MessageBoxA(
  5. __in_opt HWND hWnd,
  6. __in_opt LPCSTR lpText,
  7. __in_opt LPCSTR lpCaption,
  8. __in UINT uType);
  9. WINUSERAPI
  10. int
  11. WINAPI
  12. MessageBoxW(
  13. __in_opt HWND hWnd,
  14. __in_opt LPCWSTR lpText,
  15. __in_opt LPCWSTR lpCaption,
  16. __in UINT uType);
  17. #ifdef UNICODE
  18. #define MessageBox MessageBoxW
  19. #else
  20. #define MessageBox MessageBoxA
  21. #endif // !UNICODE
  22.  
  23. #ifdef UNITTEST
  24. #undef MessageBox
  25. #define MessageBox UnitTestMessageBox
  26. #endif
  27.  
  28. #ifdef UNITTEST
  29. #undef MessageBox
  30. #define MessageBox UnitTestMessageBox
  31. #endif
Add Comment
Please, Sign In to add comment