18 Apr
2014
18 Apr
'14
9:18 a.m.
On Fri, Apr 18, 2014 at 8:52 AM, <siro(a)das-labor.org> wrote:
should I iterate over all possible values other than sizeof(MONITORINFO) and sizeof(MONITORINFOEXA) ? Kind Regards, Patrick Rudolph
This is what I would do: Try to test sizeof(mi)+1, sizeof(mi)-1, -1, 0, 0xdeadbeef (and the same for miex). Memset(0) the structure before each test and choose a field that should never be zero to test if the struct was correctly filled aside from the success return value. Best Regards, Bruno