windows-nt/Source/XPSP1/NT/ds/adsi/nw312/nw2var.hxx
2020-09-26 16:20:57 +08:00

98 lines
1.5 KiB
C++

//+---------------------------------------------------------------------------
//
// 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
//
//
//
//
//----------------------------------------------------------------------------
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
);