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.

48 lines
1.1 KiB

  1. /*
  2. * X M L D A T A . H
  3. *
  4. * Sources Exchange messaging implementation of DAV-Base --
  5. * XML-Data types.
  6. *
  7. * Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
  8. */
  9. #ifndef _EX_XMLDATA_H_
  10. #define _EX_XMLDATA_H_
  11. #include <mapidefs.h>
  12. //#define INT64_MIN 0x8000000000000000
  13. // Data types ----------------------------------------------------------------
  14. //
  15. DEC_CONST WCHAR wszWebClientTime[] = L"dateTime.wc.";
  16. USHORT __fastcall
  17. UsPtypeFromName (
  18. /* [in] */ LPCWSTR pwszAs,
  19. /* [in] */ UINT cchAs,
  20. /* [out] */ USHORT* pusCnvt);
  21. enum {
  22. CNVT_DEFAULT = 0,
  23. CNVT_ISO8601,
  24. CNVT_RFC1123,
  25. CNVT_UUID,
  26. CNVT_BASE64,
  27. CNVT_BINHEX,
  28. CNVT_01,
  29. CNVT_CUSTOMDATE,
  30. CNVT_LIMITED,
  31. };
  32. // Data conversions ----------------------------------------------------------
  33. //
  34. SCODE ScInBase64Literal (LPCWSTR, UINT, BOOL, SBinary*);
  35. SCODE ScInBinhexLiteral (LPCWSTR, UINT, BOOL, SBinary*);
  36. SCODE ScInIso8601Literal (LPCWSTR, UINT, BOOL, FILETIME*);
  37. SCODE ScInRfc1123Literal (LPCWSTR, UINT, BOOL, FILETIME*);
  38. SCODE ScInUuidLiteral (LPCWSTR, UINT, BOOL, GUID*);
  39. #endif // _EX_XMLDATA_H_