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.

23 lines
627 B

  1. // Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  2. #ifndef __DMOUTILS_H__
  3. #define __DMOUTILS_H__
  4. #include <wchar.h>
  5. // convert guid to string
  6. STDAPI_(void) DMOGuidToStrA(char *szStr, REFGUID guid);
  7. STDAPI_(void) DMOGuidToStrW(WCHAR *szStr, REFGUID guid);
  8. // convert string to guid
  9. STDAPI_(BOOL) DMOStrToGuidA(char *szStr, GUID *pguid);
  10. STDAPI_(BOOL) DMOStrToGuidW(WCHAR *szStr, GUID *pguid);
  11. #ifdef UNICODE
  12. #define DMOStrToGuid DMOStrToGuidW
  13. #define DMOGuidToStr DMOGuidToStrW
  14. #else
  15. #define DMOStrToGuid DMOStrToGuidA
  16. #define DMOGuidToStr DMOGuidToStrA
  17. #endif
  18. #endif __DMOUTILS_H__