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.

100 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. );
  59. HRESULT
  60. CopyNulledStringToNTOBJECT(
  61. LPTSTR pszSrcValue,
  62. PNTOBJECT lpNtObject
  63. );
  64. HRESULT
  65. CopyNTToNTSynId(
  66. DWORD dwSyntaxId,
  67. LPBYTE lpByte,
  68. PNTOBJECT lpNTObject
  69. );
  70. HRESULT
  71. UnMarshallNTToNTSynId(
  72. DWORD dwSyntaxId,
  73. DWORD dwNumValues,
  74. LPBYTE lpValue,
  75. PNTOBJECT * ppNTObject
  76. );
  77. HRESULT
  78. CopyOctetToNTOBJECT(
  79. PBYTE pOctetString,
  80. PNTOBJECT lpNtObject
  81. );