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.

31 lines
501 B

  1. #define MAX_GUID_SZ_CHARS 40
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. // guid -> string conversion
  6. DWORD MyGuidToStringA(
  7. const GUID* pguid,
  8. CHAR rgsz[]);
  9. // guid -> string conversion
  10. DWORD MyGuidToStringW(
  11. const GUID* pguid,
  12. WCHAR rgsz[]);
  13. // string -> guid conversion
  14. DWORD MyGuidFromStringA(
  15. LPSTR sz,
  16. GUID* pguid);
  17. // string -> guid conversion
  18. DWORD MyGuidFromStringW(
  19. LPWSTR szW,
  20. GUID* pguid);
  21. #ifdef __cplusplus
  22. }
  23. #endif