windows-nt/Source/XPSP1/NT/admin/admt/dommigsi/netnode.cpp

51 lines
852 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "stdafx.h"
#include "DomMigSI.h"
#include "DomMigr.h"
#include "NetNode.h"
#include "Globals.h"
template <class T> HRESULT CNetNode<T>::IsDirty()
{
return m_bIsDirty;
}
template <class T> HRESULT CNetNode<T>::Load(IStream *pStm)
{
HRESULT hr = S_OK;
return hr;
}
template <class T> HRESULT CNetNode<T>::Save(IStream *pStm, BOOL fClearDirty )
{
HRESULT hr = S_OK;
return hr;
}
template <class T> HRESULT CNetNode<T>::GetSaveSizeMax(ULARGE_INTEGER *pcbSize)
{
HRESULT hr = S_OK;
int size = 0, i, numDomain;
numDomain = m_ChildArray.GetSize();
// number of domains
size += sizeof(numDomain);
// domainNames
for ( i = 0; i < numDomain; i++ )
{
T * pDomain;
pDomain = (T *)m_ChildArray[i];
}
pcbSize->QuadPart = size;
return hr;
}