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.

37 lines
819 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: umi.hxx
  7. //
  8. // Contents: Header for miscellaneous UMI routines.
  9. //
  10. // History: 02-28-00 SivaramR Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __UMI_H__
  14. #define __UMI_H__
  15. BOOL IsPreDefinedErrorCode(HRESULT hr);
  16. HRESULT MapHrToUmiError(HRESULT hr);
  17. HRESULT UmiToWinNTPath(
  18. IUmiURL *pURL,
  19. WCHAR **ppszWinNTPath,
  20. DWORD *pdwNumComps,
  21. LPWSTR **pppszClasses
  22. );
  23. HRESULT ADsToUmiPath(
  24. BSTR bstrADsPath,
  25. OBJECTINFO *pObjectInfo,
  26. LPWSTR CompClasses[],
  27. DWORD dwNumComponents,
  28. DWORD dwUmiPathType,
  29. LPWSTR *ppszUmiPath
  30. );
  31. #endif // __UMI_H__