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.

219 lines
3.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: ndsmrshl.hxx
  7. //
  8. // Contents: Base NDS Marshalling Code
  9. //
  10. // Functions:
  11. //
  12. // History: 25-Apr-96 KrishnaG Created.
  13. //
  14. //----------------------------------------------------------------------------
  15. HRESULT
  16. NdsTypeInit(
  17. PNDSOBJECT pNdsObject
  18. );
  19. HRESULT
  20. NdsTypeClear(
  21. PNDSOBJECT pNdsObject
  22. );
  23. void
  24. NdsTypeFreeNdsObjects(
  25. PNDSOBJECT pNdsObject,
  26. DWORD dwNumValues
  27. );
  28. LPBYTE
  29. CopyNDS1ToNDSSynId1(
  30. LPBYTE lpByte,
  31. PNDSOBJECT lpNdsObject
  32. );
  33. LPBYTE
  34. CopyNDS2ToNDSSynId2(
  35. LPBYTE lpByte,
  36. PNDSOBJECT lpNdsObject
  37. );
  38. LPBYTE
  39. CopyNDS3ToNDSSynId3(
  40. LPBYTE lpByte,
  41. PNDSOBJECT lpNdsObject
  42. );
  43. LPBYTE
  44. CopyNDS4ToNDSSynId4(
  45. LPBYTE lpValue,
  46. PNDSOBJECT lpNdsObject
  47. );
  48. LPBYTE
  49. CopyNDS5ToNDSSynId5(
  50. LPBYTE lpByte,
  51. PNDSOBJECT lpNdsObject
  52. );
  53. LPBYTE
  54. CopyNDS6ToNDSSynId6(
  55. LPBYTE lpByte,
  56. PNDSOBJECT lpNdsObject
  57. );
  58. LPBYTE
  59. CopyNDS7ToNDSSynId7(
  60. LPBYTE lpByte,
  61. PNDSOBJECT lpNdsObject
  62. );
  63. LPBYTE
  64. CopyNDS8ToNDSSynId8(
  65. LPBYTE lpByte,
  66. PNDSOBJECT lpNdsObject
  67. );
  68. LPBYTE
  69. CopyNDS9ToNDSynId9(
  70. LPBYTE lpByte,
  71. PNDSOBJECT lpNdsObject
  72. );
  73. LPBYTE
  74. CopyNDS10ToNDSSynId10(
  75. LPBYTE lpByte,
  76. PNDSOBJECT lpNdsObject
  77. );
  78. LPBYTE
  79. CopyNDS11ToNDSSynId11(
  80. LPBYTE lpByte,
  81. PNDSOBJECT lpNdsObject
  82. );
  83. LPBYTE
  84. CopyNDS12ToNDSSynId12(
  85. LPBYTE lpByte,
  86. PNDSOBJECT lpNdsObject
  87. );
  88. LPBYTE
  89. CopyNDS13ToNDSSynId13(
  90. LPBYTE lpByte,
  91. PNDSOBJECT lpNdsObject
  92. );
  93. LPBYTE
  94. CopyNDS14ToNDSSynId14(
  95. LPBYTE lpByte,
  96. PNDSOBJECT lpNdsObject
  97. );
  98. LPBYTE
  99. CopyNDS15ToNDSSynId15(
  100. LPBYTE lpByte,
  101. PNDSOBJECT lpNdsObject
  102. );
  103. LPBYTE
  104. CopyNDS16ToNDSSynId16(
  105. LPBYTE lpByte,
  106. PNDSOBJECT lpNdsObject
  107. );
  108. LPBYTE
  109. CopyNDS17ToNDSSynId17(
  110. LPBYTE lpByte,
  111. PNDSOBJECT lpNdsObject
  112. );
  113. LPBYTE
  114. CopyNDS18ToNDSSynId18(
  115. LPBYTE lpByte,
  116. PNDSOBJECT lpNdsObject
  117. );
  118. LPBYTE
  119. CopyNDS19ToNDSSynId19(
  120. LPBYTE lpByte,
  121. PNDSOBJECT lpNdsObject
  122. );
  123. LPBYTE
  124. CopyNDS20ToNDSSynId20(
  125. LPBYTE lpByte,
  126. PNDSOBJECT lpNdsObject
  127. );
  128. LPBYTE
  129. CopyNDS21ToNDSSynId21(
  130. LPBYTE lpByte,
  131. PNDSOBJECT lpNdsObject
  132. );
  133. LPBYTE
  134. CopyNDS22ToNDSSynId22(
  135. LPBYTE lpByte,
  136. PNDSOBJECT lpNdsObject
  137. );
  138. LPBYTE
  139. CopyNDS23ToNDSSynId23(
  140. LPBYTE lpByte,
  141. PNDSOBJECT lpNdsObject
  142. );
  143. LPBYTE
  144. CopyNDS24ToNDSSynId24(
  145. LPBYTE lpByte,
  146. PNDSOBJECT lpNdsObject
  147. );
  148. LPBYTE
  149. CopyNDS25ToNDSSynId25(
  150. LPBYTE lpByte,
  151. PNDSOBJECT lpNdsObject
  152. );
  153. LPBYTE
  154. CopyNDS26ToNDSSynId26(
  155. LPBYTE lpByte,
  156. PNDSOBJECT lpNdsObject
  157. );
  158. LPBYTE
  159. CopyNDS27ToNDSSynId27(
  160. LPBYTE lpByte,
  161. PNDSOBJECT lpNdsObject
  162. );
  163. LPBYTE
  164. CopyNDSToNDSSynId(
  165. DWORD dwSyntaxId,
  166. LPBYTE lpByte,
  167. PNDSOBJECT lpNdsObject
  168. );
  169. HRESULT
  170. UnMarshallNDSToNDSSynId(
  171. DWORD dwSyntaxId,
  172. DWORD dwNumValues,
  173. LPBYTE lpValue,
  174. PNDSOBJECT * ppNdsObject
  175. );