Re: winspool: [1/4] Basic tests for AddMonitor
20 May
2006
20 May
'06
10:57 p.m.
* 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.
7150
Age (days ago)
7150
Last active (days ago)
0 comments
1 participants
participants (1)
-
Saulius Krasuckas