Close the handle returned by IoCreateNotificationEvent?

Hi,

my feeling says I have to close the returned handle, as the object has been referenced (i.e. “opened” as the DDK puts it).

However, since this is not explicitly stated I wonder whether I am correct with my assumption?!

Thanks in advance,

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net | http://assarbad.info | http://blog.assarbad.info

Yes, call zwclose on it if you no longer need it.

Oliver Schneider wrote:

Hi,

my feeling says I have to close the returned handle, as the object has been referenced (i.e. “opened” as the DDK puts it).

However, since this is not explicitly stated I wonder whether I am correct with my assumption?!

Thanks in advance,

Oliver