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.

65 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. LlsUtil.h
  5. Abstract:
  6. Author:
  7. Arthur Hanson (arth) Dec 07, 1994
  8. Environment:
  9. Revision History:
  10. Jeff Parham (jeffparh) 12-Jan-1996
  11. o Added WinNtBuildNumberGet() to ascertain the Windows NT build number
  12. running on a given machine.
  13. --*/
  14. #ifndef _LLS_LLSUTIL_H
  15. #define _LLS_LLSUTIL_H
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. NTSTATUS EBlock( PVOID Data, ULONG DataSize );
  20. NTSTATUS DeBlock( PVOID Data, ULONG DataSize );
  21. BOOL FileExists( LPTSTR FileName );
  22. VOID lsplitpath( const TCHAR *path, TCHAR *drive, TCHAR *dir, TCHAR *fname, TCHAR *ext );
  23. VOID lmakepath( TCHAR *path, const TCHAR *drive, const TCHAR *dir, const TCHAR *fname, const TCHAR *ext );
  24. VOID FileBackupCreate( LPTSTR Path );
  25. HANDLE LlsFileInit( LPTSTR FileName, DWORD Version, DWORD DataSize );
  26. HANDLE LlsFileCheck( LPTSTR FileName, LPDWORD Version, LPDWORD DataSize );
  27. DWORD DateSystemGet( );
  28. DWORD DateLocalGet( );
  29. DWORD InAWorkgroup( VOID );
  30. VOID ThrottleLogEvent( DWORD MessageId, DWORD NumberOfSubStrings, LPWSTR *SubStrings, DWORD ErrorCode );
  31. VOID LogEvent( DWORD MessageId, DWORD NumberOfSubStrings, LPWSTR *SubStrings, DWORD ErrorCode );
  32. VOID LicenseCapacityWarningDlg(DWORD dwCapacityState);
  33. DWORD WinNtBuildNumberGet( LPTSTR pszServerName, LPDWORD pdwBuildNumber );
  34. #if DBG
  35. LPTSTR TimeToString( ULONG Seconds );
  36. #endif
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif