Stefan Dösinger stefandoesinger@gmail.com wrote:
- struct
- {
PCSTR address;
NTSTATUS res;
int ip[4];
USHORT port;
- } tests[] =
You can make this const (or even static const, not much difference though).
There is a difference, with 'static const' the compiler will place the data into a read-only section, simple 'const' still goes into a read-write one.