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.

39 lines
680 B

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. //
  5. // Module Name:
  6. //
  7. // base64tool.h
  8. //
  9. // Abstract:
  10. //
  11. // Header for the base64 encoding and decoding functions
  12. //
  13. //
  14. // Revision History:
  15. //
  16. // Thierry Perraut 04/02/1999
  17. //
  18. //////////////////////////////////////////////////////////////////////////////
  19. #ifndef _BASE64TOOL_H_
  20. #define _BASE64TOOL_H_
  21. #if _MSC_VER > 1000
  22. #pragma once
  23. #endif
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. HRESULT ToBase64(LPVOID pv, ULONG cByteLength, BSTR* pbstr);
  28. HRESULT FromBase64(BSTR bstr, BLOB* pblob, int Index);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif