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.

79 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. nw95.h
  5. Abstract:
  6. Header for nwlib. Extracted essential info from WIN95
  7. Netware Redirector headers
  8. Author:
  9. Felix Wong (t-felixw) 27-Sep-1996
  10. Environment:
  11. Revision History:
  12. --*/
  13. #define NTAPI __stdcall
  14. #define NWCCODE USHORT
  15. #define NWCONN_HANDLE HANDLE
  16. #define NWFAR
  17. #define NWAPI WINAPI
  18. #define NW_RETURN_CODE UINT
  19. #define NW_SUCCESS 0X00
  20. #define NULL_TERMINATED 0
  21. #define NDSV_MODIFY_CLASS 16
  22. typedef LONG NTSTATUS;
  23. typedef long int NW_STATUS;
  24. typedef BYTE NWCONN_ID;
  25. typedef HANDLE NW_CONN_HANDLE;
  26. typedef NWCONN_HANDLE* PNWCONN_HANDLE;
  27. struct _nds_tag {
  28. DWORD verb;
  29. UINT count;
  30. char *bufEnd;
  31. PVOID nextItem;
  32. };
  33. NW_STATUS
  34. ResolveNameA(
  35. PCSTR szName,
  36. DWORD flags,
  37. DWORD *pObjId,
  38. NWCONN_HANDLE *phConn
  39. );
  40. NW_STATUS WINAPI
  41. NDSRequest(
  42. NWCONN_HANDLE hConn,
  43. UINT verb,
  44. PVOID reqBuf,
  45. int reqLen,
  46. PVOID replyBuf,
  47. int *replyLen
  48. );
  49. BYTE
  50. VLMToNWREDIRHandle(
  51. NWCONN_HANDLE hConn
  52. );
  53. NW_RETURN_CODE WINAPI
  54. NWConnControlRequest(
  55. NWCONN_ID bConnectionID,
  56. UINT wFunctionNumber,
  57. LPVOID lpRequest,
  58. LPVOID lpAnswer
  59. );