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.

40 lines
1.1 KiB

  1. #if !defined _FILESHAR_H
  2. #define _FILESHAR_H
  3. #ifdef __cplusplus
  4. extern "C" { /* Assume C declarations for C++ */
  5. #endif /* __cplusplus */
  6. DECLARE_HANDLE(HSHFILE);
  7. HSHFILE WINAPI shfileOpen(LPSTR szFileName, MMIOINFO FAR* lpmmioinfo,
  8. DWORD dwOpenFlags);
  9. UINT WINAPI shfileClose(HSHFILE hsh, UINT uFlags);
  10. LONG WINAPI shfileRead(HSHFILE hsh, HPSTR pch, LONG cch);
  11. LONG WINAPI shfileWrite(HSHFILE hsh, const char _huge* pch, LONG cch);
  12. LONG WINAPI shfileSeek(HSHFILE hsh, LONG lOffset, int iOrigin);
  13. LONG WINAPI shfileFlush(HSHFILE hsh, UINT uFlags);
  14. LONG WINAPI shfileAddRef(HSHFILE hsh);
  15. LONG WINAPI shfileRelease(HSHFILE hsh);
  16. #ifndef _MMRESULT_
  17. #define _MMRESULT_
  18. typedef UINT MMRESULT;
  19. #endif
  20. MMRESULT WINAPI
  21. shfileDescend(HSHFILE hshfile, LPMMCKINFO lpck, const LPMMCKINFO lpckParent, UINT wFlags);
  22. MMRESULT WINAPI
  23. shfileAscend(HSHFILE hshfile, LPMMCKINFO lpck, UINT wFlags);
  24. MMRESULT WINAPI
  25. shfileCreateChunk(HSHFILE hshfile, LPMMCKINFO lpck, UINT wFlags);
  26. #ifdef __cplusplus
  27. } /* End of extern "C" { */
  28. #endif /* __cplusplus */
  29. #endif // _FILESHAR_H