Re: openevent win ce 5.0, returns error code 183
- From: "Luca Calligaris [eMVP]" <l.calligaris.nospam@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Sep 2009 12:33:04 +0200
I'm quite sure that CreateEvent and OpenEvent end up calling the same
function in the kernel so I imagine that ou get ERROR_ALREADY_EXIST as if
you were calling CreateEvent
on an existing event. You can check the code in
%_WINCEROOT%\\PRIVATE\WINCEOS\COREOS\NK\KERNEL if you installed it to figure
out the details
--
Luca Calligaris (MVP-Windows Embedded)
l.calligaris.nospam@xxxxxxxxxxxxxxxxxx
www.eurotech.it
"Yaakov Fruchtnis" <YaakovFruchtnis@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto
nel messaggio news:1D958C28-B7DB-4C9D-BAD1-CD4424043E66@xxxxxxxxxxxxxxxx
I have a system, in which the WCE image creates an event by a certain name
x.
The code I run in my application is :
=========================
// print GetLastError()
HANDLE h = OpenEvent(EVENT_ALL_ACCESS,FALSE, _T("x") );
// print GetLastError()
=========================
and I get the event handle, which is of OK value.
But, in the GetLastError right after that, I get the return code 183,
which
indicates that the event is already created.
Why do I get that error code, when I did not ask to create the event, but
just to open/connect to it?
btw, the event handle works fine, and I can run all event functions on it.
.
- References:
- openevent win ce 5.0, returns error code 183
- From: Yaakov Fruchtnis
- openevent win ce 5.0, returns error code 183
- Prev by Date: openevent win ce 5.0, returns error code 183
- Next by Date: Re: openevent win ce 5.0, returns error code 183
- Previous by thread: openevent win ce 5.0, returns error code 183
- Next by thread: Re: openevent win ce 5.0, returns error code 183
- Index(es):
Relevant Pages
|