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.

35 lines
896 B

  1. /*
  2. * stream.h - OLE stream I/O headers.
  3. *
  4. * Created by Microsoft Corporation.
  5. * (c) Copyright Microsoft Corp. 1990 - 1992 All Rights Reserved
  6. */
  7. //*** CONSTANTS ***
  8. #define MAXREAD ((LONG) (60L * 1024L))
  9. //*** GLOBALS ***
  10. extern DWORD vcbObject;
  11. //*** PROTOTYPES ***
  12. //* OLE callbacks
  13. DWORD APIENTRY ReadStream(LPAPPSTREAM, LPSTR, DWORD);
  14. DWORD APIENTRY WriteStream(LPAPPSTREAM, LPSTR, DWORD);
  15. //* Far
  16. BOOL FAR WriteToFile(LPAPPSTREAM);
  17. BOOL FAR ObjWrite(LPAPPSTREAM, APPITEMPTR);
  18. BOOL FAR ReadFromFile(LPAPPSTREAM, LHCLIENTDOC, LPOLECLIENT);
  19. BOOL FAR ObjRead(LPAPPSTREAM, LHCLIENTDOC, LPOLECLIENT);
  20. //* Local
  21. DWORD lread(int, VOID FAR *, DWORD);
  22. DWORD lwrite(int, VOID FAR *, DWORD);
  23. static VOID UpdateLinks(LHCLIENTDOC);
  24. static VOID UpdateFromOpenServers(VOID);