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.

30 lines
1.0 KiB

  1. #define ILGetDisplayName _AorW_ILGetDisplayName
  2. #define PathCleanupSpec _AorW_PathCleanupSpec
  3. // The following functions were originally only TCHAR versions
  4. // in Win95, but now have A/W versions. Since we still need to
  5. // run on Win95, we need to treat them as TCHAR versions and
  6. // undo the A/W #define
  7. // Define the prototypes for each of these forwarders...
  8. #ifdef __cplusplus
  9. extern "C" { /* Assume C declarations for C++ */
  10. #endif /* __cplusplus */
  11. extern BOOL _AorW_ILGetDisplayName(LPCITEMIDLIST pidl, LPTSTR pszName);
  12. extern int _AorW_PathCleanupSpec(LPCTSTR pszDir, LPTSTR pszSpec);
  13. //
  14. // This is the "RunOn95" section, which thunks UNICODE functions
  15. // back down to ANSI so we can run on Win95 in browser-only mode.
  16. //
  17. STDAPI Priv_SHDefExtractIcon(LPCTSTR pszIconFile, int iIndex, UINT uFlags,
  18. HICON *phiconLarge, HICON *phiconSmall,
  19. UINT nIconSize);
  20. #ifdef __cplusplus
  21. }
  22. #endif /* __cplusplus */