home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / dtchelp.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  51 lines

  1. /* ----------------------------------------------------------------------------
  2. Microsoft    D.T.C (Distributed Transaction Coordinator)
  3.  
  4. (c)    1996    Microsoft Corporation.    All Rights Reserved
  5.  
  6. @doc
  7.  
  8. @module        DTCHelp.h    |
  9.  
  10.             contains helper API for loading the DTCHelper DLL
  11.  
  12. -------------------------------------------------------------------------------
  13. @rev     0     | 8th -Sep-1995    |    GaganC        | Created
  14. ----------------------------------------------------------------------------- */
  15. #ifndef __DTCHELP_H__
  16. #define __DTCHELP_H__
  17.  
  18.  
  19. //---------------------------------------------------------
  20. //        ALL INCLUDE FILES GO HERE
  21. //---------------------------------------------------------
  22. #include <windows.h>
  23.  
  24.  
  25. //---------------------------------------------------------
  26. // typedefs
  27. //---------------------------------------------------------
  28. typedef HRESULT  (STDAPIVCALLTYPE * DTC_GET_TRANSACTION_MANAGER)(LPTSTR  pszHost,
  29.                                     LPTSTR    pszTmName,
  30.                                     /* in */ REFIID rid,
  31.                                     /* in */ DWORD    dwReserved1,
  32.                                     /* in */ WORD    wcbReserved2,
  33.                                     /* in */ void FAR * pvReserved2,
  34.                                     /*out */ void** ppvObject )    ;
  35.  
  36. //---------------------------------------------------------
  37. //            Function Prototypes
  38. //---------------------------------------------------------
  39. EXTERN_C
  40. {
  41.     DTC_GET_TRANSACTION_MANAGER    __cdecl LoadDtcHelper (void);
  42.     HMODULE __cdecl GetDtcLocaleResourceHandle(void);
  43. }
  44.  
  45.  
  46. //---------------------------------------------------------
  47. //            ALL ERRORS GO HERE
  48. //---------------------------------------------------------
  49.  
  50.  
  51. #endif __DTCHELP_H__