33 lines
719 B
C++
33 lines
719 B
C++
/*
|
|
* persist.hpp - IPersist, IPersistFile, and IPersistStream implementation
|
|
* description.
|
|
*
|
|
* Taken from URL code by ChrisPi 9-12-95
|
|
*
|
|
*/
|
|
|
|
|
|
/* Global Constants
|
|
*******************/
|
|
|
|
// persist.cpp
|
|
|
|
extern const UINT g_ucMaxURLLen;
|
|
extern const char g_cszURLLeftDelimiter[];
|
|
extern const char g_cszURLRightDelimiter[];
|
|
extern const char g_cszURLPrefix[];
|
|
extern const UINT g_ucbURLPrefixLen;
|
|
extern const char g_cszURLExt[];
|
|
extern const char g_cszURLDefaultFileNamePrompt[];
|
|
extern const char g_cszCRLF[];
|
|
|
|
|
|
/* Prototypes
|
|
*************/
|
|
|
|
// persist.cpp
|
|
|
|
extern HRESULT UnicodeToANSI(LPCOLESTR pcwszUnicode, PSTR *ppszANSI);
|
|
extern HRESULT ANSIToUnicode(PCSTR pcszANSI, LPOLESTR *ppwszUnicode);
|
|
|