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.
128 lines
2.2 KiB
128 lines
2.2 KiB
|
|
/******************************************************************************
|
|
|
|
D D E C A L L B A C K H E A D E R
|
|
|
|
Name: callback.h
|
|
Date: 1/20/94
|
|
Creator: John Fu
|
|
|
|
Description:
|
|
This is the header file for callback.c
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
extern TCHAR szInitShareCmd[];
|
|
extern TCHAR szExitCmd[];
|
|
extern TCHAR szPasteShareCmd[];
|
|
extern TCHAR szDelShareCmd[];
|
|
extern TCHAR szMarkSharedCmd[];
|
|
extern TCHAR szMarkUnSharedCmd[];
|
|
extern TCHAR szKeepCmd[];
|
|
extern TCHAR szSaveAsCmd[];
|
|
extern TCHAR szSaveAsOldCmd[];
|
|
extern TCHAR szOpenCmd[];
|
|
extern TCHAR szDebugCmd[];
|
|
extern TCHAR szVersionCmd[];
|
|
extern TCHAR szSecurityCmd[];
|
|
extern TCHAR szDebug[];
|
|
extern TCHAR szVer[];
|
|
|
|
|
|
extern TCHAR szSection[];
|
|
extern TCHAR szClipviewRoot[];
|
|
extern TCHAR szRegClass[];
|
|
|
|
extern HSZ hszSysTopic;
|
|
extern HSZ hszTopicList;
|
|
extern HSZ hszFormatList;
|
|
|
|
|
|
|
|
|
|
LONG MakeTheRegKey(
|
|
PHKEY phkey,
|
|
REGSAM regsam);
|
|
|
|
|
|
int lstrncmp(
|
|
LPTSTR s1,
|
|
LPTSTR s2,
|
|
WORD count);
|
|
|
|
|
|
DWORD GetConvErr(
|
|
HCONV hConv);
|
|
|
|
|
|
DWORD GetXactErrType(
|
|
HCONV hConv);
|
|
|
|
|
|
VOID SetXactErr(
|
|
HCONV hConv,
|
|
DWORD dwType,
|
|
DWORD dwErr);
|
|
|
|
|
|
HDDEDATA EXPENTRY DdeCallback(
|
|
WORD wType,
|
|
WORD wFmt,
|
|
HCONV hConv,
|
|
HSZ hszTopic,
|
|
HSZ hszItem,
|
|
HDDEDATA hData,
|
|
DWORD lData1,
|
|
DWORD lData2);
|
|
|
|
|
|
BOOL IsSupportedTopic(
|
|
HSZ hszTopic);
|
|
|
|
|
|
BOOL CleanUpShares(void);
|
|
|
|
|
|
BOOL InitShares(void);
|
|
|
|
|
|
HDDEDATA GetFormat(
|
|
HCONV hConv,
|
|
HSZ hszTopic,
|
|
HSZ hszItem);
|
|
|
|
|
|
BOOL DelShare(
|
|
HCONV hConv,
|
|
TCHAR *pszName);
|
|
|
|
|
|
BOOL AddRecord(
|
|
LPTSTR lpszName,
|
|
LPTSTR lpszFileName,
|
|
ULONG siflags);
|
|
|
|
|
|
DWORD AddShare(
|
|
LPTSTR pszName,
|
|
WORD flags);
|
|
|
|
|
|
|
|
VOID DumpShares(void);
|
|
|
|
|
|
BOOL MarkShare(
|
|
TCHAR *pszName,
|
|
WORD flags);
|
|
|
|
|
|
void Hszize(void);
|
|
|
|
|
|
void UnHszize(void);
|
|
|
|
|
|
DWORD GetRandShareFileName(
|
|
LPTSTR buf);
|