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

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995.
//
// File: ntumrshl.hxx
//
// Contents: Base WinNT UnMarshalling Code
//
// Functions:
//
// History: 25-Apr-96 KrishnaG Created.
// 17 June-96 RamV cloned and moved to NT.
//
//----------------------------------------------------------------------------
HRESULT
NTTypeInit(
PNTOBJECT pNtObject
);
HRESULT
NTTypeClear(
PNTOBJECT pNtObject
);
void
NTTypeFreeNTObjects(
PNTOBJECT pNtObject,
DWORD dwNumValues
);
HRESULT
CopyDWORDToNTOBJECT(
PDWORD pdwSrcValue,
PNTOBJECT lpNtDestValue
);
HRESULT
CopyDATEToNTOBJECT(
PDWORD pdwSrcValue,
PNTOBJECT lpNtDestValue
);
HRESULT
CopyBOOLToNTOBJECT(
PBOOL pfSrcValue,
PNTOBJECT lpNtObject
);
HRESULT
CopySYSTEMTIMEToNTOBJECT(
PSYSTEMTIME pSysTime,
PNTOBJECT lpNtObject
);
HRESULT
CopyLPTSTRToNTOBJECT(
LPTSTR pszSrcValue,
PNTOBJECT lpNtObject
);
HRESULT
CopyDelimitedStringToNTOBJECT(
LPTSTR pszSrcValue,
PNTOBJECT lpNtObject
);
HRESULT
CopyNulledStringToNTOBJECT(
LPTSTR pszSrcValue,
PNTOBJECT lpNtObject
);
HRESULT
CopyNTToNTSynId(
DWORD dwSyntaxId,
LPBYTE lpByte,
PNTOBJECT lpNTObject
);
HRESULT
UnMarshallNTToNTSynId(
DWORD dwSyntaxId,
DWORD dwNumValues,
LPBYTE lpValue,
PNTOBJECT * ppNTObject
);
HRESULT
CopyOctetToNTOBJECT(
PBYTE pOctetString,
PNTOBJECT lpNtObject
);