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.

54 lines
1.1 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995
  5. //
  6. // File: cdomcf.cxx
  7. //
  8. // Contents: Windows NT 3.5 NDS Security Class Factory Code
  9. //
  10. //
  11. // History: 01-30-95 krishnag Created.
  12. //
  13. //----------------------------------------------------------------------------
  14. #include "nds.hxx"
  15. #pragma hdrstop
  16. //+---------------------------------------------------------------------------
  17. //
  18. // Function: CNDSAclCF::CreateInstance
  19. //
  20. // Synopsis:
  21. //
  22. // Arguments: [pUnkOuter]
  23. // [iid]
  24. // [ppv]
  25. //
  26. // Returns: HRESULT
  27. //
  28. // Modifies:
  29. //
  30. // History: 01-30-95 krishnag Created.
  31. //----------------------------------------------------------------------------
  32. STDMETHODIMP
  33. CNDSAclCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
  34. {
  35. HRESULT hr = E_FAIL;
  36. if (pUnkOuter)
  37. RRETURN(E_FAIL);
  38. hr = CNDSAcl::CreateSecurityDescriptor(
  39. iid,
  40. ppv
  41. );
  42. RRETURN(hr);
  43. }