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.

64 lines
881 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. utils.h
  5. Abstract:
  6. Revision History:
  7. Jeff Sigman 05/01/00 Created
  8. Jeff Sigman 05/10/00 Version 1.5 released
  9. Jeff Sigman 10/18/00 Fix for Soft81 bug(s)
  10. --*/
  11. #ifndef __UTILS_H__
  12. #define __UTILS_H__
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. VOID*
  17. RutlFree(
  18. IN VOID* pvData
  19. );
  20. char*
  21. RutlStrDup(
  22. IN char* pszSrc
  23. );
  24. CHAR16*
  25. RutlUniStrDup(
  26. IN char* pszSrc
  27. );
  28. char* __cdecl
  29. strtok(
  30. IN char* string,
  31. IN const char* control
  32. );
  33. char* __cdecl
  34. strstr(
  35. IN const char* str1,
  36. IN const char* str2
  37. );
  38. EFI_FILE_HANDLE
  39. OpenFile(
  40. IN UINT64 OCFlags,
  41. IN EFI_LOADED_IMAGE* LoadedImage,
  42. IN EFI_FILE_HANDLE* CurDir,
  43. IN CHAR16* String
  44. );
  45. #endif //__UTILS_H__