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.

97 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: nt2var.hxx
  7. //
  8. // Contents: NDS Object to Variant Copy Routines
  9. //
  10. // Functions:
  11. //
  12. // History: 06/12/1996 RamV Created.
  13. // cloned from nds code
  14. //
  15. //
  16. //
  17. //
  18. //----------------------------------------------------------------------------
  19. typedef VARIANT *PVARIANT, *LPVARIANT;
  20. HRESULT
  21. NTTypeToVarTypeCopyBOOL(
  22. PNTOBJECT pNTSrcValue,
  23. PVARIANT lpVarDestObject
  24. );
  25. HRESULT
  26. NTTypeToVarTypeCopySYSTEMTIME(
  27. PNTOBJECT pNTSrcValue,
  28. PVARIANT lpVarDestObject
  29. );
  30. HRESULT
  31. NTTypeToVarTypeCopyDWORD(
  32. PNTOBJECT pNTSrcValue,
  33. PVARIANT lpVarDestObject
  34. );
  35. HRESULT
  36. NTTypeToVarTypeCopyDATE(
  37. PNTOBJECT pNTSrcValue,
  38. PVARIANT lpVarDestObject
  39. );
  40. HRESULT
  41. NTTypeToVarTypeCopyLPTSTR(
  42. PNTOBJECT pNTSrcValue,
  43. PVARIANT lpVarDestObject
  44. );
  45. HRESULT
  46. NTTypeToVarTypeCopyNulledString(
  47. PNTOBJECT pNTSrcValue,
  48. PVARIANT lpVarDestObject
  49. );
  50. HRESULT
  51. NTTypeToVarTypeCopyDelimitedString(
  52. PNTOBJECT pNTSrcValue,
  53. PVARIANT lpVarDestObject
  54. );
  55. HRESULT
  56. NtTypeToVarTypeCopy(
  57. PNTOBJECT pNTSrcValue,
  58. PVARIANT lpVarDestObject
  59. );
  60. HRESULT
  61. NtTypeToVarTypeCopyConstruct(
  62. LPNTOBJECT pNTSrcObjects,
  63. DWORD dwNumObjects,
  64. PVARIANT pVarDestObjects
  65. );
  66. void
  67. VarTypeFreeVarObjects(
  68. PVARIANT pVarObject,
  69. DWORD dwNumValues
  70. );