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.

80 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: var2nt.cxx
  7. //
  8. // Contents: WinNT Types to Variant conversion Routines
  9. //
  10. // Functions:
  11. //
  12. // History: 13-June-1996 RamV Created.
  13. //
  14. //
  15. // Issues: Check null ptrs for AllocADsMem and AllocADsStr
  16. //
  17. //
  18. //+-------------------------------------------------------------------------
  19. HRESULT
  20. VarTypeToWinNTTypeCopyBOOL(
  21. PVARIANT lpVarSrcObject,
  22. PNTOBJECT pNTDestValue
  23. );
  24. HRESULT
  25. VarTypeToWinNTTypeCopySYSTEMTIME(
  26. PVARIANT lpVarSrcObject,
  27. PNTOBJECT pNTDestValue
  28. );
  29. HRESULT
  30. VarTypeToWinNTTypeCopyDWORD(
  31. PVARIANT lpVarSrcObject,
  32. PNTOBJECT pNTDestValue
  33. );
  34. HRESULT
  35. VarTypeToWinNTTypeCopyDATE(
  36. PVARIANT lpVarSrcObject,
  37. PNTOBJECT pNTDestValue
  38. );
  39. HRESULT
  40. VarTypeToWinNTTypeCopyLPTSTR(
  41. PVARIANT lpVarSrcObject,
  42. PNTOBJECT pNTDestValue
  43. );
  44. HRESULT
  45. VarTypeToWinNTTypeCopyDelimitedString(
  46. PVARIANT lpVarSrcObject,
  47. PNTOBJECT pNTDestValue
  48. );
  49. HRESULT
  50. VarTypeToWinNTTypeCopyNulledString(
  51. PVARIANT lpVarSrcObject,
  52. PNTOBJECT pNTDestValue
  53. );
  54. HRESULT
  55. VarTypeToNtTypeCopy(
  56. DWORD dwNtType,
  57. PVARIANT lpVarSrcObject,
  58. PNTOBJECT lpNtDestObject
  59. );
  60. HRESULT
  61. VarTypeToNtTypeCopyConstruct(
  62. DWORD dwNtType,
  63. LPVARIANT pVarSrcObjects,
  64. DWORD dwNumObjects,
  65. LPNTOBJECT * ppNtDestObjects
  66. );