home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / strmhelp.h < prev    next >
C/C++ Source or Header  |  1998-04-24  |  878b  |  39 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright 1992 - 1997 Microsoft Corporation.
  5. //
  6. //  File:       strmhelp.h
  7. //
  8. //  Contents:   Routines for writting variables to a stream in an
  9. //              architecture independent manner.
  10. //
  11. //  Classes:
  12. //
  13. //  Functions:  WriteDouble
  14. //              ReadDouble
  15. //              SizeDouble
  16. //
  17. //  History:    4-26-94   stevebl   Created
  18. //
  19. //----------------------------------------------------------------------------
  20.  
  21. #ifndef __STRMHELP_H__
  22. #define __STRMHELP_H__
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. DWORD SizeDouble(void);
  29.  
  30. HRESULT WriteDouble(IStream * pstm, double d, ULONG FAR * pcbWritten);
  31.  
  32. HRESULT ReadDouble(IStream * pstm, double * pd, ULONG FAR * pcbRead);
  33.  
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37.  
  38. #endif //__STRMHELP_H__
  39.