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.

47 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. ARPD.H
  5. Abstract:
  6. Include file for Another Reliable Protocol internal, CPP version
  7. Author:
  8. Aaron Ogus (aarono)
  9. Environment:
  10. Win32/COM
  11. Revision History:
  12. Date Author Description
  13. ====== ====== ============================================================
  14. 12/10/96 aarono Original
  15. --*/
  16. #ifndef _ARPD_H_
  17. #define _ARPD_H_
  18. typedef VOID (*PSEND_CALLBACK)(PVOID Context,UINT Status);
  19. typedef struct _ASYNCSENDINFO {
  20. UINT Reserved[4];
  21. HANDLE hEvent; // Event to signal on send complete.
  22. PSEND_CALLBACK SendCallBack; // Callback to call on send complete.
  23. PVOID CallBackContext;// Context for callback.
  24. PUINT pStatus; // place to put status on completion.
  25. } ASYNCSENDINFO, *PASYNCSENDINFO;
  26. #define SEND_STATUS_QUEUED 0x00000001
  27. #define SEND_STATUS_TRANSMITTING 0x00000002
  28. #define SEND_STATUS_FAILURE 0x80000003
  29. #define SEND_STATUS_SUCCESS 0x80000004
  30. #endif //_ARPD_H_