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.

101 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. vrremote.h
  5. Abstract:
  6. Prototypes for vrremote module
  7. Author:
  8. Richard L Firth (rfirth) 28-Oct-1991
  9. Revision History:
  10. 29-Oct-1991 rfirth
  11. Created
  12. --*/
  13. NET_API_STATUS
  14. VrTransaction(
  15. IN LPSTR ServerName,
  16. IN LPBYTE SendParmBuffer,
  17. IN DWORD SendParmBufLen,
  18. IN LPBYTE SendDataBuffer,
  19. IN DWORD SendDataBufLen,
  20. OUT LPBYTE ReceiveParmBuffer,
  21. IN DWORD ReceiveParmBufLen,
  22. IN LPBYTE ReceiveDataBuffer,
  23. IN OUT LPDWORD ReceiveDataBufLen,
  24. IN BOOL NullSessionFlag
  25. );
  26. NET_API_STATUS
  27. VrRemoteApi(
  28. IN DWORD ApiNumber,
  29. IN LPBYTE ServerNamePointer,
  30. IN LPSTR ParameterDescriptor,
  31. IN LPSTR DataDescriptor,
  32. IN LPSTR AuxDescriptor OPTIONAL,
  33. IN BOOL NullSessionFlag
  34. );
  35. //
  36. // private routine prototypes
  37. //
  38. DWORD
  39. VrpGetStructureSize(
  40. IN LPSTR Descriptor,
  41. IN LPDWORD AuxOffset
  42. );
  43. DWORD
  44. VrpGetArrayLength(
  45. IN LPSTR type_ptr,
  46. IN LPSTR* type_ptr_addr
  47. );
  48. DWORD
  49. VrpGetFieldSize(
  50. IN LPSTR Descriptor,
  51. IN LPSTR* pDescriptor
  52. );
  53. VOID
  54. VrpConvertReceiveBuffer(
  55. IN LPBYTE ReceiveBuffer,
  56. IN WORD BufferSelector,
  57. IN WORD BufferOffset,
  58. IN WORD ConverterWord,
  59. IN DWORD NumberStructs,
  60. IN LPSTR DataDescriptor,
  61. IN LPSTR AuxDescriptor
  62. );
  63. VOID
  64. VrpConvertVdmPointer(
  65. IN ULPWORD TargetPointer,
  66. IN WORD BufferSegment,
  67. IN WORD BufferOffset,
  68. IN WORD ConverterWord
  69. );
  70. NET_API_STATUS
  71. VrpPackSendBuffer(
  72. IN OUT LPBYTE* SendBufferPtr,
  73. IN OUT LPDWORD SendBufLenPtr,
  74. OUT LPBOOL BufferAllocFlagPtr,
  75. IN OUT LPSTR DataDescriptor,
  76. IN LPSTR AuxDescriptor,
  77. IN DWORD StructureSize,
  78. IN DWORD AuxOffset,
  79. IN DWORD AuxSize,
  80. IN BOOL SetInfoFlag,
  81. IN BOOL OkToModifyDescriptor
  82. );