home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Business Development Kit / PRODUCT_CD.iso / sqlsvr / ptk / i386 / xolehlp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-14  |  950 b   |  32 lines

  1. // xolehlp.h
  2. // contains DTC helper APIs used by SQL Server and application clients
  3. // to access a specific instance of a specific class transaction manager
  4. // the tmGUID is used to lookup a specific instance from the registry
  5. //
  6.  
  7. #ifndef __XOLEHLP__H__
  8.  
  9.     #define __XOLEHLP__H__
  10.  
  11. #define EXPORTAPI __declspec( dllexport ) HRESULT
  12.  
  13.  
  14. EXPORTAPI DtcGetTransactionManager( LPTSTR  pszHost,
  15.                                     LPTSTR    pszTmName,
  16.                                     /* in */ REFIID rid,
  17.                                     /* in */ DWORD    dwReserved1,
  18.                                     /* in */ WORD    wcbReserved2,
  19.                                     /* in */ void FAR * pvReserved2,
  20.                                     /*out */ void** ppvObject )    ;
  21.  
  22. EXPORTAPI DtcSelectTransactionManager(     LPTSTR  pszHost,
  23.                                         LPTSTR    pszTmName,
  24.                                        /* in */ REFIID rid,
  25.                                        /* in */ DWORD    dwReserved1,
  26.                                        /* in */ WORD    wcbReserved2,
  27.                                        /* in */ void FAR * pvReserved2,
  28.                                        /*out */ void** ppvObject ) ;
  29.  
  30.  
  31. #endif // __XOLEHLP__H__
  32.