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.

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