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.

60 lines
835 B

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. proto.h
  5. Abstract:
  6. Contains proto type definitions of several functions.
  7. Author:
  8. Madan Appiah (madana) 15-Nov-1994
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _PROTO_
  14. #define _PROTO_
  15. extern "C"
  16. {
  17. VOID CacheScavenger(LPVOID Parameter);
  18. }
  19. LONGLONG GetGmtTime(VOID);
  20. DWORD GetFileSizeAndTimeByName(
  21. LPCTSTR FileName,
  22. WIN32_FILE_ATTRIBUTE_DATA *lpFileAttrData
  23. );
  24. DWORD
  25. GetFileSizeByName(
  26. LPCTSTR pszFileName,
  27. DWORD *pdwFileSize
  28. );
  29. BOOL InitGlobals (void);
  30. void LaunchScavenger (void);
  31. DWORD
  32. CreateUniqueFile(
  33. LPCSTR UrlName,
  34. LPTSTR Path,
  35. LPTSTR FileName,
  36. LPTSTR Extension,
  37. HANDLE *phfHandle
  38. );
  39. #endif // _PROTO_