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.

27 lines
961 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1997, Microsoft Corporation.
  4. //
  5. // File: caturl.hxx
  6. //
  7. // Contents: Functions to deal with query catalog URLs. Catalog URLs
  8. // specify the machine and/or catalog to be used in a query.
  9. // The canonical form is:
  10. // query://hostname/catalogname
  11. //
  12. // Both the catalog and machine have defaults so they can be
  13. // omitted. For backward-compatibility, a simple catalog path
  14. // or catalog name can also be used.
  15. //
  16. // History: 12 Mar 1997 AlanW Created
  17. //
  18. //----------------------------------------------------------------------------
  19. #pragma once
  20. #define CATURL_LOCAL_MACHINE L"."
  21. SCODE ParseCatalogURL( const WCHAR * pwszInput,
  22. XPtrST<WCHAR> & xpCatalog,
  23. XPtrST<WCHAR> & xpMachine );