|
/*****************************************************************************
*
* Generic Conduit Export Functions Header File
*
****************************************************************************/
#ifndef __GENERIC_MAIN_CONDUIT__
#define __GENERIC_MAIN_CONDUIT__
#include <condapi.h>
#define GENERIC_CONDUIT_VERSION 0x00000102
#ifndef ExportFunc
#ifdef _68K_
#define ExportFunc
#else
#define ExportFunc __declspec( dllexport )
#endif
#endif
extern "C" {
typedef long (*PROGRESSFN) (char*);
ExportFunc long OpenConduit(PROGRESSFN, CSyncProperties&);
ExportFunc long GetConduitName(char*,WORD);
ExportFunc DWORD GetConduitVersion();
ExportFunc long ConfigureConduit(CSyncPreference& pref);
ExportFunc long GetConduitInfo(ConduitInfoEnum infoType, void *pInArgs, void *pOut, DWORD *dwOutSize);
#ifdef macintosh
pascal OSErr __initialize(const CFragInitBlock *theInitBlock);
pascal void __terminate(void);
pascal OSErr ConduitInit(const CFragInitBlock *theInitBlock);
pascal void ConduitExit(void);
#endif
}
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Developer for hire.
.NET/C# ; PalmOS ; SQL ; Win32/MFC/COM/ADO/DirectX ; ASP/VBScript/PerlScript ; Perl/CGI/mod_perl ; HTML/Javascript ; C/C++ ; x86 ; 6502 ; AtariBasic ... what's next?
On my free time, I'm also a big sports car buff and apprentice do it yourself home improvement contractor.
Feel free to discuss. Visit my home page at
www.explodingcoder.com or email me at
spoulson@explodingcoder.com.