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.

55 lines
700 B

  1. //
  2. // Private types
  3. //
  4. typedef struct {
  5. DWORD Message;
  6. LPSTR String;
  7. } MESSAGE_STRING, *PMESSAGE_STRING;
  8. #define MSG_NO_MESSAGE 0
  9. typedef struct
  10. {
  11. BOOL DispStats;
  12. BOOL DispCache;
  13. BOOL DoResetStats;
  14. } OPTIONS;
  15. //
  16. // LoadMessageTable
  17. //
  18. // Loads internationalizable strings into a table, replacing the default for
  19. // each. If an error occurs, the English language default is left in place.
  20. //
  21. //
  22. VOID
  23. LoadMessageTable(
  24. PMESSAGE_STRING Table,
  25. UINT MessageCount
  26. );
  27. VOID
  28. DisplayMessage(
  29. IN BOOLEAN Tabbed,
  30. IN DWORD MessageId,
  31. ...
  32. );
  33. HANDLE
  34. OpenDevice(
  35. CHAR *pDeviceName
  36. );
  37. VOID
  38. CloseDevice(
  39. HANDLE DeviceHandle
  40. );
  41. void DoAAS(OPTIONS *po);
  42. void DoAAC(OPTIONS *po);