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.

96 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: ntumrshl.hxx
  7. //
  8. // Contents: Base WinNT UnMarshalling Code
  9. //
  10. // Functions:
  11. //
  12. // History: 25-Apr-96 KrishnaG Created.
  13. // 17 June-96 RamV cloned and moved to NT.
  14. //
  15. //----------------------------------------------------------------------------
  16. HRESULT
  17. NTTypeInit(
  18. PNTOBJECT pNtObject
  19. );
  20. HRESULT
  21. NTTypeClear(
  22. PNTOBJECT pNtObject
  23. );
  24. void
  25. NTTypeFreeNTObjects(
  26. PNTOBJECT pNtObject,
  27. DWORD dwNumValues
  28. );
  29. HRESULT
  30. CopyDWORDToNTOBJECT(
  31. PDWORD pdwSrcValue,
  32. PNTOBJECT lpNtDestValue
  33. );
  34. HRESULT
  35. CopyDATEToNTOBJECT(
  36. PDWORD pdwSrcValue,
  37. PNTOBJECT lpNtDestValue
  38. );
  39. HRESULT
  40. CopyBOOLToNTOBJECT(
  41. PBOOL pfSrcValue,
  42. PNTOBJECT lpNtObject
  43. );
  44. HRESULT
  45. CopySYSTEMTIMEToNTOBJECT(
  46. PSYSTEMTIME pSysTime,
  47. PNTOBJECT lpNtObject
  48. );
  49. HRESULT
  50. CopyLPTSTRToNTOBJECT(
  51. LPTSTR pszSrcValue,
  52. PNTOBJECT lpNtObject
  53. );
  54. HRESULT
  55. CopyDelimitedStringToNTOBJECT(
  56. LPTSTR pszSrcValue,
  57. PNTOBJECT lpNtObject,
  58. DWORD dwNumValues
  59. );
  60. HRESULT
  61. CopyNulledStringToNTOBJECT(
  62. LPTSTR pszSrcValue,
  63. PNTOBJECT lpNtObject,
  64. DWORD dwNumValues
  65. );
  66. HRESULT
  67. CopyNTToNTSynId(
  68. DWORD dwSyntaxId,
  69. LPBYTE lpByte,
  70. PNTOBJECT lpNTObject,
  71. DWORD dwNumValues
  72. );
  73. HRESULT
  74. UnMarshallNTToNTSynId(
  75. DWORD dwSyntaxId,
  76. DWORD dwNumValues,
  77. LPBYTE lpValue,
  78. PNTOBJECT * ppNTObject
  79. );