winspool: [1/4] Basic tests for AddMonitor
Saulius Krasuckas
saulius2 at ar.fi.lt
Sat May 20 17:57:07 CDT 2006
* On Mon, 10 Apr 2006, Detlef Riekenberg wrote:
>
> +static void test_AddMonitor(void)
> +{
...
> + res = AddMonitorA(NULL, 2, NULL);
> + /* NT: unchanged, 9x: ERROR_PRIVILEGE_NOT_HELD */
> + ok(!res &&
> + ((GetLastError() == MAGIC_DEAD) ||
> + (GetLastError() == ERROR_PRIVILEGE_NOT_HELD)),
> + "returned %ld with %ld (expected '0' with: MAGIC_DEAD or " \
> + "ERROR_PRIVILEGE_NOT_HELD)\n", res, GetLastError());
Detlef, what version of 9x OS you have been testing this code on?
On my ME system it generates an unhandled exception 0xC0000005:
Access Violation.
More information about the wine-devel
mailing list