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.

35 lines
1.4 KiB

  1. /*****************************************************************************\
  2. FILE: unithunk.h
  3. \*****************************************************************************/
  4. #ifndef _UNICODE_THUNK_WRAPPERS_H
  5. #define _UNICODE_THUNK_WRAPPERS_H
  6. #define POST_IE5_BETA
  7. // NOTES:
  8. // CharPrevW and lstrcpyW doesn't appear to be used in our code.
  9. //
  10. // The .map file will show that we link to MessageBoxW and GetNumberFormatW but
  11. // that is okay because we only use it on NT.
  12. //////////////////////////// IE 5 vs IE 4 /////////////////////////////////
  13. // These are functions that IE5 exposes (normally in shlwapi), but
  14. // if we want to be compatible with IE4, we need to have our own copy.
  15. // If we turn on USE_IE5_UTILS, we won't work with IE4's DLLs (like shlwapi).
  16. #ifndef USE_IE5_UTILS
  17. #define IUnknown_Set UnicWrapper_IUnknown_Set
  18. #define SHWaitForSendMessageThread UnicWrapper_SHWaitForSendMessageThread
  19. #define AutoCompleteFileSysInEditbox UnicWrapper_AutoCompleteFileSysInEditbox
  20. void UnicWrapper_IUnknown_Set(IUnknown ** ppunk, IUnknown * punk);
  21. DWORD UnicWrapper_SHWaitForSendMessageThread(HANDLE hThread, DWORD dwTimeout);
  22. HRESULT AutoCompleteFileSysInEditbox(HWND hwndEdit);
  23. #endif // USE_IE5_UTILS
  24. //////////////////////////// IE 5 vs IE 4 /////////////////////////////////
  25. #endif // _UNICODE_THUNK_WRAPPERS_H