Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: ihgttran.h
  8. //
  9. //--------------------------------------------------------------------------
  10. typedef ULONG_PTR HUTTRAN;
  11. typedef DWORD (__stdcall * PFNOpen) (HUTTRAN * phTran, const TCHAR * tszBinding, DWORD fOpen);
  12. typedef DWORD (__stdcall * PFNSend) (HUTTRAN hTran, DWORD dwEncoding, DWORD cbSendBuff, const BYTE * pbSendBuff);
  13. typedef DWORD (__stdcall * PFNFree) (HUTTRAN hTran, BYTE * pb);
  14. typedef DWORD (__stdcall * PFNReceive) (HUTTRAN hTran, DWORD * pdwEncoding, DWORD * pcbReceiveBuff, BYTE ** ppbReceiveBuff);
  15. typedef DWORD (__stdcall * PFNClose) (HUTTRAN hTran);
  16. typedef struct _IGTS {
  17. HINSTANCE hLib;
  18. HUTTRAN hTran;
  19. PFNOpen PfnOpen;
  20. PFNSend PfnSend;
  21. PFNFree PfnFree;
  22. PFNReceive PfnReceive;
  23. PFNClose PfnClose;
  24. } IGTS;
  25. #ifdef __cplusplus
  26. extern "C" DWORD __stdcall GTInitSrv(TCHAR * tszLibrary);
  27. extern "C" DWORD __stdcall GTUnInitSrv(void);
  28. #else
  29. #endif