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.

272 lines
4.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: ndscopy.cxx
  7. //
  8. // Contents: NDS Object to Variant Copy Routines
  9. //
  10. // Functions:
  11. //
  12. // History: 25-Apr-96 KrishnaG Created.
  13. //
  14. //
  15. // Issues: Check null ptrs for AllocADsMem and AllocADsStr
  16. //
  17. // Object Types 6, 13, 16, and 21 are flaky - pay extra attn.
  18. //
  19. //
  20. // The following conversions are not supported
  21. //
  22. // NDS_ASN1_TYPE_1
  23. //
  24. // NDS_ASN1_TYPE_2
  25. //
  26. // NDS_ASN1_TYPE_3
  27. //
  28. // NDS_ASN1_TYPE_4
  29. //
  30. // NDS_ASN1_TYPE_5
  31. //
  32. // NDS_ASN1_TYPE_6 - not supported
  33. //
  34. // NDS_ASN1_TYPE_7
  35. //
  36. // NDS_ASN1_TYPE_8
  37. //
  38. // NDS_ASN1_TYPE_9 - not supported
  39. //
  40. // NDS_ASN1_TYPE_10
  41. //
  42. // NDS_ASN1_TYPE_11 - not supported
  43. //
  44. // NDS_ASN1_TYPE_12 - not supported
  45. //
  46. // NDS_ASN1_TYPE_13 - not supported
  47. //
  48. // NDS_ASN1_TYPE_14
  49. //
  50. // NDS_ASN1_TYPE_15 - not supported
  51. //
  52. // NDS_ASN1_TYPE_16 - not supported
  53. //
  54. // NDS_ASN1_TYPE_17 - not supported
  55. //
  56. // NDS_ASN1_TYPE_18 - not supported
  57. //
  58. // NDS_ASN1_TYPE_19 - not supported
  59. //
  60. // NDS_ASN1_TYPE_20
  61. //
  62. // NDS_ASN1_TYPE_21 - not supported
  63. //
  64. // NDS_ASN1_TYPE_22
  65. //
  66. // NDS_ASN1_TYPE_23 - not supported
  67. //
  68. // NDS_ASN1_TYPE_24
  69. //
  70. // NDS_ASN1_TYPE_25 - not supported
  71. //
  72. // NDS_ASN1_TYPE_26 - not supported
  73. //
  74. // NDS_ASN1_TYPE_27
  75. //
  76. //
  77. //----------------------------------------------------------------------------
  78. typedef VARIANT *PVARIANT, *LPVARIANT;
  79. HRESULT
  80. NdsTypeToVarTypeCopyNDSSynId1(
  81. PNDSOBJECT lpNdsSrcObject,
  82. PVARIANT lpVarDestObject
  83. );
  84. HRESULT
  85. NdsTypeToVarTypeCopyNDSSynId2(
  86. PNDSOBJECT lpNdsSrcObject,
  87. PVARIANT lpVarDestObject
  88. );
  89. HRESULT
  90. NdsTypeToVarTypeCopyNDSSynId3(
  91. PNDSOBJECT lpNdsSrcObject,
  92. PVARIANT lpVarDestObject
  93. );
  94. HRESULT
  95. NdsTypeToVarTypeCopyNDSSynId4(
  96. PNDSOBJECT lpNdsSrcObject,
  97. PVARIANT lpVarDestObject
  98. );
  99. HRESULT
  100. NdsTypeToVarTypeCopyNDSSynId5(
  101. PNDSOBJECT lpNdsSrcObject,
  102. PVARIANT lpVarDestObject
  103. );
  104. HRESULT
  105. NdsTypeToVarTypeCopyNDSSynId6(
  106. PNDSOBJECT lpNdsSrcObject,
  107. PVARIANT lpVarDestObject
  108. );
  109. HRESULT
  110. NdsTypeToVarTypeCopyNDSSynId7(
  111. PNDSOBJECT lpNdsSrcObject,
  112. PVARIANT lpVarDestObject
  113. );
  114. HRESULT
  115. NdsTypeToVarTypeCopyNDSSynId8(
  116. PNDSOBJECT lpNdsSrcObject,
  117. PVARIANT lpVarDestObject
  118. );
  119. HRESULT
  120. NdsTypeToVarTypeCopyNDSSynId9(
  121. PNDSOBJECT lpNdsSrcObject,
  122. PVARIANT lpVarDestObject
  123. );
  124. HRESULT
  125. NdsTypeToVarTypeCopyNDSSynId10(
  126. PNDSOBJECT lpNdsSrcObject,
  127. PVARIANT lpVarDestObject
  128. );
  129. HRESULT
  130. NdsTypeToVarTypeCopyNDSSynId11(
  131. PNDSOBJECT lpNdsSrcObject,
  132. PVARIANT lpVarDestObject
  133. );
  134. HRESULT
  135. NdsTypeToVarTypeCopyNDSSynId12(
  136. PNDSOBJECT lpNdsSrcObject,
  137. PVARIANT lpVarDestObject
  138. );
  139. HRESULT
  140. NdsTypeToVarTypeCopyNDSSynId13(
  141. PNDSOBJECT lpNdsSrcObject,
  142. PVARIANT lpVarDestObject
  143. );
  144. HRESULT
  145. NdsTypeToVarTypeCopyNDSSynId14(
  146. PNDSOBJECT lpNdsSrcObject,
  147. PVARIANT lpVarDestObject
  148. );
  149. HRESULT
  150. NdsTypeToVarTypeCopyNDSSynId15(
  151. PNDSOBJECT lpNdsSrcObject,
  152. PVARIANT lpVarDestObject
  153. );
  154. HRESULT
  155. NdsTypeToVarTypeCopyNDSSynId16(
  156. PNDSOBJECT lpNdsSrcObject,
  157. PVARIANT lpVarDestObject
  158. );
  159. HRESULT
  160. NdsTypeToVarTypeCopyNDSSynId17(
  161. PNDSOBJECT lpNdsSrcObject,
  162. PVARIANT lpVarDestObject
  163. );
  164. HRESULT
  165. NdsTypeToVarTypeCopyNDSSynId18(
  166. PNDSOBJECT lpNdsSrcObject,
  167. PVARIANT lpVarDestObject
  168. );
  169. HRESULT
  170. NdsTypeToVarTypeCopyNDSSynId19(
  171. PNDSOBJECT lpNdsSrcObject,
  172. PVARIANT lpVarDestObject
  173. );
  174. HRESULT
  175. NdsTypeToVarTypeCopyNDSSynId20(
  176. PNDSOBJECT lpNdsSrcObject,
  177. PVARIANT lpVarDestObject
  178. );
  179. HRESULT
  180. NdsTypeToVarTypeCopyNDSSynId21(
  181. PNDSOBJECT lpNdsSrcObject,
  182. PVARIANT lpVarDestObject
  183. );
  184. HRESULT
  185. NdsTypeToVarTypeCopyNDSSynId22(
  186. PNDSOBJECT lpNdsSrcObject,
  187. PVARIANT lpVarDestObject
  188. );
  189. HRESULT
  190. NdsTypeToVarTypeCopyNDSSynId23(
  191. PNDSOBJECT lpNdsSrcObject,
  192. PVARIANT lpVarDestObject
  193. );
  194. HRESULT
  195. NdsTypeToVarTypeCopyNDSSynId24(
  196. PNDSOBJECT lpNdsSrcObject,
  197. PVARIANT lpVarDestObject
  198. );
  199. HRESULT
  200. NdsTypeToVarTypeCopyNDSSynId25(
  201. PNDSOBJECT lpNdsSrcObject,
  202. PVARIANT lpVarDestObject
  203. );
  204. HRESULT
  205. NdsTypeToVarTypeCopyNDSSynId26(
  206. PNDSOBJECT lpNdsSrcObject,
  207. PVARIANT lpVarDestObject
  208. );
  209. HRESULT
  210. NdsTypeToVarTypeCopyNDSSynId27(
  211. PNDSOBJECT lpNdsSrcObject,
  212. PVARIANT lpVarDestObject
  213. );
  214. HRESULT
  215. NdsTypeToVarTypeCopy(
  216. PNDSOBJECT lpNdsSrcObject,
  217. PVARIANT lpVarDestObject
  218. );
  219. HRESULT
  220. NdsTypeToVarTypeCopyConstruct(
  221. LPNDSOBJECT pNdsSrcObjects,
  222. DWORD dwNumObjects,
  223. PVARIANT pVarDestObjects,
  224. BOOLEAN bReturnArrayAlways
  225. );
  226. void
  227. VarTypeFreeVarObjects(
  228. PVARIANT pVarObject,
  229. DWORD dwNumValues
  230. );