Leaked source code of windows server 2003
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.
 
 
 
 
 
 

97 lines
1.6 KiB

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