windows-nt/Source/XPSP1/NT/ds/adsi/novellnw/nw2var.hxx

99 lines
1.6 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995.
//
// File: nt2var.hxx
//
// Contents: NDS Object to Variant Copy Routines
//
// Functions:
//
// History: 06/12/1996 RamV Created.
// cloned from nds code
//
// Issues: Check null ptrs for AllocADsMem and AllocADsStr
//
//
//
//----------------------------------------------------------------------------
typedef VARIANT *PVARIANT, *LPVARIANT;
HRESULT
NTTypeToVarTypeCopyBOOL(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopySYSTEMTIME(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopyDWORD(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopyDATE(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopyLPTSTR(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopyNulledString(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NTTypeToVarTypeCopyDelimitedString(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NtTypeToVarTypeCopy(
PNTOBJECT pNTSrcValue,
PVARIANT lpVarDestObject
);
HRESULT
NtTypeToVarTypeCopyConstruct(
LPNTOBJECT pNTSrcObjects,
DWORD dwNumObjects,
PVARIANT pVarDestObjects
);
void
VarTypeFreeVarObjects(
PVARIANT pVarObject,
DWORD dwNumValues
);