mirror of https://github.com/tongzx/nt5src
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
55 lines
700 B
|
|
//
|
|
// Private types
|
|
//
|
|
typedef struct {
|
|
DWORD Message;
|
|
LPSTR String;
|
|
} MESSAGE_STRING, *PMESSAGE_STRING;
|
|
|
|
#define MSG_NO_MESSAGE 0
|
|
|
|
|
|
typedef struct
|
|
{
|
|
BOOL DispStats;
|
|
BOOL DispCache;
|
|
BOOL DoResetStats;
|
|
|
|
} OPTIONS;
|
|
|
|
//
|
|
// LoadMessageTable
|
|
//
|
|
// Loads internationalizable strings into a table, replacing the default for
|
|
// each. If an error occurs, the English language default is left in place.
|
|
//
|
|
//
|
|
VOID
|
|
LoadMessageTable(
|
|
PMESSAGE_STRING Table,
|
|
UINT MessageCount
|
|
);
|
|
|
|
VOID
|
|
DisplayMessage(
|
|
IN BOOLEAN Tabbed,
|
|
IN DWORD MessageId,
|
|
...
|
|
);
|
|
|
|
|
|
HANDLE
|
|
OpenDevice(
|
|
CHAR *pDeviceName
|
|
);
|
|
|
|
|
|
|
|
VOID
|
|
CloseDevice(
|
|
HANDLE DeviceHandle
|
|
);
|
|
|
|
void DoAAS(OPTIONS *po);
|
|
void DoAAC(OPTIONS *po);
|