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.

54 lines
1.9 KiB

  1. /***************************************************************************
  2. Name : AWNSFAPI.H
  3. Comment : Definitions of the AtWork AWBC (Basicaps) structure which is the
  4. decrypted/decooded/reformatted form of the At Work NSF and NSC
  5. Also the decrypted form of the At Work NSS
  6. Also defines the APIs for encoding/decoding AtWork NSF/NSC/NSS
  7. Copyright (c) 1993 Microsoft Corp.
  8. Revision Log
  9. Date Name Description
  10. -------- ----- ---------------------------------------------------------
  11. 08/28/93 arulm Created
  12. ***************************************************************************/
  13. #ifndef _AWNSFAPI_H
  14. #define _AWNSFAPI_H
  15. /***********************************************************************
  16. * *
  17. * NOTICE: This file has to be ANSI compilable, under GCC on UNIX *
  18. * and other ANSI compiles. Be sure to use no MS C specific features *
  19. * In particular, don't use // for comments!!!! *
  20. * *
  21. ***********************************************************************/
  22. typedef int BOOL;
  23. typedef unsigned char BYTE;
  24. typedef unsigned short WORD;
  25. typedef unsigned long DWORD;
  26. typedef unsigned short USHORT;
  27. typedef BYTE FAR* LPBYTE;
  28. typedef WORD FAR* LPWORD;
  29. #include <fr.h>
  30. #pragma pack(2) /** ensure packing is portable, i.e. 2 or more **/
  31. typedef enum {
  32. BC_NONE = 0,
  33. SEND_CAPS, /** Used to derive an NSF to send **/
  34. RECV_CAPS, /** Derived from a received NSF **/
  35. SEND_PARAMS, /** Used to derive an NSS to send **/
  36. RECV_PARAMS, /** Derived from a received NSS **/
  37. } BCTYPE;
  38. #define MAXTOTALIDLEN 61
  39. /** Appropriate values for some of the above fields **/
  40. #pragma pack()
  41. #endif /** _AWNSFAPI_H **/