home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / msmqocm.cab / dtchelp.h < prev    next >
C/C++ Source or Header  |  1997-10-06  |  2KB  |  52 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. #include "RMFacade.H"
  24.  
  25.  
  26. //---------------------------------------------------------
  27. // typedefs
  28. //---------------------------------------------------------
  29. typedef HRESULT  (STDAPICALLTYPE * DTC_GET_TRANSACTION_MANAGER)(LPTSTR  pszHost,
  30.                                     LPTSTR    pszTmName,
  31.                                     /* in */ REFIID rid,
  32.                                     /* in */ DWORD    dwReserved1,
  33.                                     /* in */ WORD    wcbReserved2,
  34.                                     /* in */ void FAR * pvReserved2,
  35.                                     /*out */ void** ppvObject )    ;
  36.  
  37. //---------------------------------------------------------
  38. //            Function Prototypes
  39. //---------------------------------------------------------
  40. extern "C"
  41. {
  42.     DTC_GET_TRANSACTION_MANAGER    LoadDtcHelper (void);
  43.     HMODULE GetDtcLocaleResourceHandle(void);
  44. }
  45.  
  46.  
  47. //---------------------------------------------------------
  48. //            ALL ERRORS GO HERE
  49. //---------------------------------------------------------
  50.  
  51.  
  52. #endif __DTCHELP_H__