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.

110 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1997.
  5. //
  6. // File: iis2var.hxx
  7. //
  8. // Contents:
  9. //
  10. // Functions:
  11. //
  12. // Issues: Check null ptrs for AllocADsMem and AllocADsStr
  13. //
  14. // The following conversions are not supported
  15. //
  16. //----------------------------------------------------------------------------
  17. typedef VARIANT *PVARIANT, *LPVARIANT;
  18. class IIsSchema;
  19. HRESULT
  20. IISTypeToVarTypeCopyIISSynIdDWORD(
  21. IIsSchema *pSchema,
  22. PIISOBJECT lpIISSrcObject,
  23. PVARIANT lpVarDestObject
  24. );
  25. HRESULT
  26. IISTypeToVarTypeCopyIISSynIdSTRING(
  27. IIsSchema *pSchema,
  28. PIISOBJECT lpIISSrcObject,
  29. PVARIANT lpVarDestObject
  30. );
  31. HRESULT
  32. IISTypeToVarTypeCopyIISSynIdEXPANDSZ(
  33. IIsSchema *pSchema,
  34. PIISOBJECT lpIISSrcObject,
  35. PVARIANT lpVarDestObject
  36. );
  37. HRESULT
  38. IISTypeToVarTypeCopyIISSynIdMULTISZ(
  39. IIsSchema *pSchema,
  40. PIISOBJECT lpIISSrcObject,
  41. PVARIANT lpVarDestObject
  42. );
  43. HRESULT
  44. IISTypeToVarTypeCopyIISSynIdBOOL(
  45. IIsSchema *pSchema,
  46. PIISOBJECT lpIISSrcObject,
  47. PVARIANT lpVarDestObject
  48. );
  49. HRESULT
  50. IISTypeToVarTypeCopyIISSynIdBOOLBITMASK(
  51. IIsSchema *pSchema,
  52. LPWSTR pszPropertyName,
  53. PIISOBJECT lpIISSrcObject,
  54. PVARIANT lpVarDestObject
  55. );
  56. HRESULT
  57. IISTypeToVarTypeCopyIISSynIdMIMEMAP(
  58. IIsSchema *pSchema,
  59. PIISOBJECT lpIISSrcObject,
  60. PVARIANT lpVarDestObject
  61. );
  62. HRESULT
  63. IISTypeToVarTypeCopyIISSynIdNTACL(
  64. PIISOBJECT lpIISSrcObject,
  65. PVARIANT lpVarDestObject
  66. );
  67. HRESULT
  68. IISTypeToVarTypeCopyIISSynIdIPSEC(
  69. PIISOBJECT lpIISSrcObject,
  70. PVARIANT lpVarDestObject
  71. );
  72. HRESULT
  73. IISTypeToVarTypeCopy(
  74. IIsSchema *pSchema,
  75. LPWSTR pszPropertyName,
  76. PIISOBJECT lpIISSrcObject,
  77. PVARIANT lpVarDestObject,
  78. BOOL bReturnBinaryAsVT_VARIANT
  79. );
  80. HRESULT
  81. IISTypeToVarTypeCopyConstruct(
  82. IIsSchema *pSchema,
  83. LPWSTR pszPropertyName,
  84. LPIISOBJECT pIISSrcObjects,
  85. DWORD dwNumObjects,
  86. PVARIANT pVarDestObjects,
  87. BOOL bReturnBinaryAsVT_VARIANT
  88. );
  89. void
  90. VarTypeFreeVarObjects(
  91. PVARIANT pVarObject,
  92. DWORD dwNumValues
  93. );