Windows NT 4.0 source code leak
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.

43 lines
1.4 KiB

4 years ago
  1. /*****************************************************************************
  2. * *
  3. * TF.H *
  4. * *
  5. * Copyright (C) Microsoft Corporation 1990. *
  6. * All Rights reserved. *
  7. * *
  8. *****************************************************************************/
  9. /*****************************************************************************
  10. * *
  11. * Typedefs *
  12. * *
  13. *****************************************************************************/
  14. typedef struct {
  15. BOOL fExists; // TRUE if the file has been created
  16. FM fm; // Name of temp file
  17. FILE * pf; // Should be pfileNil if file not open
  18. } TF, * PTF;
  19. /*****************************************************************************
  20. * *
  21. * Static Variables *
  22. * *
  23. *****************************************************************************/
  24. extern char * fTFWrite;
  25. extern char * fTFRead;
  26. /*****************************************************************************
  27. * *
  28. * Prototypes *
  29. * *
  30. *****************************************************************************/
  31. BOOL FOpenPtf(PTF, const char*);
  32. void STDCALL FRemovePtf(PTF*);
  33. PTF PtfNew(BOOL);
  34. #ifdef _DEBUG
  35. void VerifyPtf(PTF);
  36. #endif