Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
614 B

  1. #ifndef _pch_h_
  2. #define _pch_h_
  3. #include <windows.h>
  4. #include <windowsx.h>
  5. #include <prsht.h>
  6. #include <shlobj.h>
  7. #include <shlwapi.h>
  8. #include <shsemip.h>
  9. #include <stdlib.h>
  10. #include "propsext.h"
  11. #include "clssfact.h"
  12. #include "addon.h"
  13. #include "rc.h"
  14. #include "regutils.h"
  15. //
  16. // Avoid bringing in C runtime code for NO reason
  17. //
  18. #if defined(__cplusplus)
  19. inline void * __cdecl operator new(unsigned int size) { return (void *)LocalAlloc(LPTR, size); }
  20. inline void __cdecl operator delete(void *ptr) { LocalFree(ptr); }
  21. extern "C" inline __cdecl _purecall(void) { return 0; }
  22. #endif // __cplusplus
  23. #endif