Advertisement
BaSs_HaXoR

What is WIN32_LEAN_AND_MEAN?

Sep 23rd, 2014
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.03 KB | None | 0 0
  1. //Defining WIN32_LEAN_AND_MEAN "reduces the size of the Win32 header files by excluding some of the less frequently used APIs".
  2. //It also speeds up the build process.
  3. #Define WIN32_LEAN_AND_MEAN
  4.  
  5. #ifndef WIN32_LEAN_AND_MEAN
  6.     #include <cderr.h>
  7.     #include <dde.h>
  8.     #include <ddeml.h>
  9.     #include <dlgs.h>
  10.     #ifndef _MAC
  11.         #include <lzexpand.h>
  12.         #include <mmsystem.h>
  13.         #include <nb30.h>
  14.         #include <rpc.h>
  15.     #endif
  16.     #include <shellapi.h>
  17.     #ifndef _MAC
  18.         #include <winperf.h>
  19.         #include <winsock.h>
  20.     #endif
  21.     #ifndef NOCRYPT
  22.         #include <wincrypt.h>
  23.         #include <winefs.h>
  24.         #include <winscard.h>
  25.     #endif
  26.  
  27.     #ifndef NOGDI
  28.         #ifndef _MAC
  29.             #include <winspool.h>
  30.             #ifdef INC_OLE1
  31.                 #include <ole.h>
  32.             #else
  33.                 #include <ole2.h>
  34.             #endif /* !INC_OLE1 */
  35.         #endif /* !MAC */
  36.         #include <commdlg.h>
  37.     #endif /* !NOGDI */
  38. #endif /* WIN32_LEAN_AND_MEAN */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement