Leaked source code of windows server 2003
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.

50 lines
1.1 KiB

  1. #ifndef __INIT__
  2. #define __INIT__
  3. #define CONST_VTABLE
  4. #ifndef STRICT
  5. #define STRICT
  6. #endif
  7. #ifndef WINVER
  8. #define WINVER 0x0400
  9. #define _WIN32_WINDOWS 0x0400
  10. #endif
  11. #include <windows.h>
  12. #include <windowsx.h>
  13. #include <stdlib.h>
  14. #include <shlwapi.h>
  15. #include <shlobj.h> // in \sdk\inc
  16. #include <shellapi.h>
  17. #include <crtfree.h> // don't use CRT libs
  18. #include <ccstock.h> // in ccshell\inc
  19. #include <shsemip.h> // in ccshell\inc
  20. #include <shellp.h> // in ccshell\inc
  21. #include <debug.h> // in ccshell\inc
  22. #include <shguidp.h> // in ccshell\inc
  23. #include <advpub.h>
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. extern HINSTANCE g_hInst;
  28. extern BOOL g_fAllAccess;
  29. extern const CLSID CLSID_ControlFolder;
  30. extern const CLSID CLSID_EmptyControlVolumeCache;
  31. extern TCHAR g_szUnknownData[64];
  32. #ifdef __cplusplus
  33. };
  34. #endif
  35. STDAPI_(void) DllAddRef();
  36. STDAPI_(void) DllRelease();
  37. STDAPI ControlFolder_CreateInstance(IUnknown *punkOuter, REFIID riid, void **ppv);
  38. STDAPI EmptyControl_CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppv);
  39. #endif