Source code of Windows XP (NT5)
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.

60 lines
1.2 KiB

  1. // Active Directory Display Specifier Upgrade Tool
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // class DsUiDefaultSettingsChangeHandler, handler for changes to instances
  6. // of the DS-UI-Default-Settings object.
  7. //
  8. // 14 Mar 2001 sburns
  9. #include "headers.hxx"
  10. #include "DsUiDefaultSettingsChangeHandler.hpp"
  11. DsUiDefaultSettingsChangeHandler::DsUiDefaultSettingsChangeHandler()
  12. {
  13. LOG_CTOR(DsUiDefaultSettingsChangeHandler);
  14. }
  15. DsUiDefaultSettingsChangeHandler::~DsUiDefaultSettingsChangeHandler()
  16. {
  17. LOG_DTOR(DsUiDefaultSettingsChangeHandler);
  18. }
  19. String
  20. DsUiDefaultSettingsChangeHandler::GetObjectName() const
  21. {
  22. static String objName(L"DS-UI-Default-Settings");
  23. return objName;
  24. }
  25. HRESULT
  26. DsUiDefaultSettingsChangeHandler::HandleChange(
  27. int localeId,
  28. const String& containerDn,
  29. SmartInterface<IADs> iads,
  30. Amanuensis& /* amanuensis */ ,
  31. Repairer& /* repairer */ ) const
  32. {
  33. LOG_FUNCTION2(DsUiDefaultSettingsChangeHandler::HandleChange, containerDn);
  34. ASSERT(localeId);
  35. ASSERT(!containerDn.empty());
  36. ASSERT(iads);
  37. HRESULT hr = S_OK;
  38. // CODEWORK: Needs finishing
  39. LOG_HRESULT(hr);
  40. return hr;
  41. }