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.

21 lines
634 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: gentran.hxx
  8. //
  9. //--------------------------------------------------------------------------
  10. class ISTTTran {
  11. virtual DWORD Open(const TCHAR * tszBinding, DWORD fOpen) = 0;
  12. virtual DWORD Send(DWORD dwEncodeType, DWORD cbSendBuff, const BYTE * pbSendBuff) = 0;
  13. virtual DWORD Free(BYTE * pb) = 0;
  14. virtual DWORD Receive(DWORD * pdwEncodeType, DWORD * pcbReceiveBuff, BYTE ** ppbReceiveBuff) = 0;
  15. virtual DWORD Close(void) = 0;
  16. };