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.

33 lines
965 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000.
  5. //
  6. // File: U H C O M M O N . H
  7. //
  8. // Contents: Common UPnP Device Host code
  9. //
  10. // Notes:
  11. //
  12. // Author: mbend 21 Sep 2000
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. typedef enum
  17. {
  18. CALL_LOCALITY_INPROC = 1,
  19. CALL_LOCALITY_LOCAL = 2,
  20. CALL_LOCALITY_DIFFERENTMACHINE = 4
  21. } CALL_LOCALITY;
  22. HRESULT HrUDNStringToGUID(const wchar_t * szUUID, UUID & uuid);
  23. HRESULT HrContentURLToGUID(const wchar_t * szURL, GUID & guid);
  24. HRESULT HrSysAllocString(LPCWSTR pszSource, BSTR *pbstrDest);
  25. HRESULT HrCreateNetworkSID();
  26. VOID CleanupNetworkSID();
  27. HRESULT HrGetCurrentCallLocality( OUT CALL_LOCALITY *pclCurrentCallLocality );
  28. HRESULT HrIsAllowedCOMCallLocality( IN CALL_LOCALITY clAllowedCallLocality );