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.

32 lines
719 B

  1. /*
  2. * persist.hpp - IPersist, IPersistFile, and IPersistStream implementation
  3. * description.
  4. *
  5. * Taken from URL code by ChrisPi 9-12-95
  6. *
  7. */
  8. /* Global Constants
  9. *******************/
  10. // persist.cpp
  11. extern const UINT g_ucMaxURLLen;
  12. extern const char g_cszURLLeftDelimiter[];
  13. extern const char g_cszURLRightDelimiter[];
  14. extern const char g_cszURLPrefix[];
  15. extern const UINT g_ucbURLPrefixLen;
  16. extern const char g_cszURLExt[];
  17. extern const char g_cszURLDefaultFileNamePrompt[];
  18. extern const char g_cszCRLF[];
  19. /* Prototypes
  20. *************/
  21. // persist.cpp
  22. extern HRESULT UnicodeToANSI(LPCOLESTR pcwszUnicode, PSTR *ppszANSI);
  23. extern HRESULT ANSIToUnicode(PCSTR pcszANSI, LPOLESTR *ppwszUnicode);