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.

41 lines
483 B

  1. #ifndef _ROUTEMON_UTILS_
  2. #define _ROUTEMON_UTILS_
  3. UINT APIENTRY
  4. get_str_id (
  5. ENUM_TO_STR Array[],
  6. ULONG ArraySz,
  7. ULONG EnumVal
  8. );
  9. BOOL APIENTRY
  10. get_enum_val (
  11. HINSTANCE hModule,
  12. ENUM_TO_STR Array[],
  13. ULONG ArraySz,
  14. LPTSTR String,
  15. PULONG EnumVal
  16. );
  17. ULONG APIENTRY
  18. put_msg (
  19. HINSTANCE hModule,
  20. UINT MsgId,
  21. ...
  22. );
  23. ULONG APIENTRY
  24. put_str_msg (
  25. HINSTANCE hModule,
  26. UINT MsgId,
  27. ...
  28. );
  29. ULONG APIENTRY
  30. put_error_msg (
  31. DWORD error
  32. );
  33. #endif