NT4/private/windows/rover/filesync/core/twin.h

35 lines
841 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
/*
* twin.h - Twin ADT description.
*/
/* Types
********/
/*
* EnumTwins() callback function - called as:
*
* bContinue = EnumTwinsProc(htwin, pData);
*/
typedef BOOL (*ENUMTWINSPROC)(HTWIN, LPARAM);
/* Prototypes
*************/
/* twin.c */
extern COMPARISONRESULT CompareNameStrings(LPCTSTR, LPCTSTR);
extern COMPARISONRESULT CompareNameStringsByHandle(HSTRING, HSTRING);
extern TWINRESULT TranslatePATHRESULTToTWINRESULT(PATHRESULT);
extern BOOL CreateTwinFamilyPtrArray(PHPTRARRAY);
extern void DestroyTwinFamilyPtrArray(HPTRARRAY);
extern HBRFCASE GetTwinBriefcase(HTWIN);
extern BOOL FindObjectTwinInList(HLIST, HPATH, PHNODE);
extern BOOL EnumTwins(HBRFCASE, ENUMTWINSPROC, LPARAM, PHTWIN);
extern BOOL IsValidHTWIN(HTWIN);
extern BOOL IsValidHTWINFAMILY(HTWINFAMILY);
extern BOOL IsValidHOBJECTTWIN(HOBJECTTWIN);