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.

79 lines
1.5 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. //
  16. //
  17. //+-------------------------------------------------------------------------
  18. HRESULT
  19. VarTypeToWinNTTypeCopyBOOL(
  20. PVARIANT lpVarSrcObject,
  21. PNTOBJECT pNTDestValue
  22. );
  23. HRESULT
  24. VarTypeToWinNTTypeCopySYSTEMTIME(
  25. PVARIANT lpVarSrcObject,
  26. PNTOBJECT pNTDestValue
  27. );
  28. HRESULT
  29. VarTypeToWinNTTypeCopyDWORD(
  30. PVARIANT lpVarSrcObject,
  31. PNTOBJECT pNTDestValue
  32. );
  33. HRESULT
  34. VarTypeToWinNTTypeCopyDATE(
  35. PVARIANT lpVarSrcObject,
  36. PNTOBJECT pNTDestValue
  37. );
  38. HRESULT
  39. VarTypeToWinNTTypeCopyLPTSTR(
  40. PVARIANT lpVarSrcObject,
  41. PNTOBJECT pNTDestValue
  42. );
  43. HRESULT
  44. VarTypeToWinNTTypeCopyDelimitedString(
  45. PVARIANT lpVarSrcObject,
  46. PNTOBJECT pNTDestValue
  47. );
  48. HRESULT
  49. VarTypeToWinNTTypeCopyNulledString(
  50. PVARIANT lpVarSrcObject,
  51. PNTOBJECT pNTDestValue
  52. );
  53. HRESULT
  54. VarTypeToNtTypeCopy(
  55. DWORD dwNtType,
  56. PVARIANT lpVarSrcObject,
  57. PNTOBJECT lpNtDestObject
  58. );
  59. HRESULT
  60. VarTypeToNtTypeCopyConstruct(
  61. DWORD dwNtType,
  62. LPVARIANT pVarSrcObjects,
  63. DWORD dwNumObjects,
  64. LPNTOBJECT * ppNtDestObjects
  65. );