Source code of Windows XP (NT5)
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.

61 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1991-1993 Microsoft Corporation
  3. Module Name:
  4. Rx.h
  5. Abstract:
  6. This is the public header file for the NT version of RpcXlate.
  7. This mainly contains prototypes for the RxNetXxx routines and
  8. RxRemoteApi.
  9. Author:
  10. John Rogers (JohnRo) 01-Apr-1991
  11. Environment:
  12. Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
  13. Requires ANSI C extensions: slash-slash comments, long external names.
  14. Revision History:
  15. 01-Apr-1991 JohnRo
  16. Created.
  17. 03-Apr-1991 JohnRo
  18. Moved API handlers into per-group header files (e.g. RxServer.h).
  19. 03-May-1991 JohnRo
  20. Changed RxRemoteApi to use three data desc versions. Use Unicode.
  21. Also pass it UNC server name (\\stuff) for ease of use.
  22. Don't use NET_API_FUNCTION for non-APIs.
  23. 14-May-1991 JohnRo
  24. Pass 3 aux descriptors to RxRemoteApi.
  25. 16-Aug-1991 rfirth
  26. Changed prototype (NoPermissionRequired to Flags) & added some defines
  27. 06-May-1993 JohnRo
  28. RAID 8849: Export RxRemoteApi for DEC and others.
  29. --*/
  30. #ifndef _RX_
  31. #define _RX_
  32. // These must be included first:
  33. #include <windef.h> // IN, LPTSTR, LPVOID, etc.
  34. #include <lmcons.h> // NET_API_STATUS.
  35. // These may be included in any order:
  36. #include <rap.h> // LPDESC.
  37. #include <lmremutl.h> // RxRemoteApi, NO_PERMISSION_REQUIRED, etc.
  38. #define RAP_CONVERSION_FACTOR 2 // 16-bit data to 32-bit
  39. #define RAP_CONVERSION_FRACTION 3 // Actually the factor is 2 and 1/3
  40. #endif // ndef _RX_