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.

94 lines
1.1 KiB

  1. #ifndef _WINSPRS_
  2. #define _WINSPRS_
  3. #ifdef _cplusplus
  4. extern "C" {
  5. #endif
  6. /*++
  7. Copyright (c) 1989 Microsoft Corporation
  8. Module Name:
  9. Abstract:
  10. Functions:
  11. Portability:
  12. This header is portable.
  13. Author:
  14. Pradeep Bahl (PradeepB) Feb-1993
  15. Revision History:
  16. Modification Date Person Description of Modification
  17. ------------------ ------- ---------------------------
  18. --*/
  19. /*
  20. includes
  21. */
  22. #include "wins.h"
  23. #include "winscnf.h"
  24. /*
  25. defines
  26. */
  27. /*
  28. macros
  29. */
  30. /*
  31. externs
  32. */
  33. /*
  34. typedef definitions
  35. */
  36. //
  37. // Stores information about the file
  38. //
  39. typedef struct _WINSPRS_FILE_INFO_T {
  40. HANDLE FileHdl; //handle to file
  41. DWORD FileSize; //size of file
  42. DWORD FileOffset; //offset into file
  43. LPBYTE pFileBuff; //Memory storing the file
  44. LPBYTE pCurrPos; //Current position to read
  45. LPBYTE pStartOfBuff; //Start of Buffer
  46. LPBYTE pLimit; //Last Byte + 1
  47. } WINSPRS_FILE_INFO_T, *PWINSPRS_FILE_INFO_T;
  48. /*
  49. function declarations
  50. */
  51. extern
  52. STATUS
  53. WinsPrsDoStaticInit(
  54. PWINSCNF_DATAFILE_INFO_T pDataFile,
  55. DWORD NoOfFiles,
  56. BOOL fAsync
  57. );
  58. #ifdef _cplusplus
  59. }
  60. #endif
  61. #endif