15 Feb
2015
15 Feb
'15
9:08 p.m.
Stefan Dösinger <stefandoesinger(a)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. -- Dmitry.