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.

50 lines
902 B

  1. #include "stdafx.h"
  2. #include "DomMigSI.h"
  3. #include "DomMigr.h"
  4. #include "NetNode.h"
  5. #include "Globals.h"
  6. template <class T> HRESULT CNetNode<T>::IsDirty()
  7. {
  8. return m_bIsDirty;
  9. }
  10. template <class T> HRESULT CNetNode<T>::Load(IStream *pStm)
  11. {
  12. HRESULT hr = S_OK;
  13. return hr;
  14. }
  15. template <class T> HRESULT CNetNode<T>::Save(IStream *pStm, BOOL fClearDirty )
  16. {
  17. HRESULT hr = S_OK;
  18. return hr;
  19. }
  20. template <class T> HRESULT CNetNode<T>::GetSaveSizeMax(ULARGE_INTEGER *pcbSize)
  21. {
  22. HRESULT hr = S_OK;
  23. int size = 0, i, numDomain;
  24. numDomain = m_ChildArray.GetSize();
  25. // number of domains
  26. size += sizeof(numDomain);
  27. // domainNames
  28. for ( i = 0; i < numDomain; i++ )
  29. {
  30. T * pDomain;
  31. pDomain = (T *)m_ChildArray[i];
  32. }
  33. pcbSize->QuadPart = size;
  34. return hr;
  35. }