I got a file created handle from other application, But I can't know
the CloseHandle event, How do I know the file handle already closed?

Any ideal? Thanks.

-
Strickland

Re: File close event? by Steve

Steve
Thu Aug 25 20:08:22 CDT 2005

Huh? How did you get this handle? Normally a handle cannot just be passed
from one application to another. You could use DuplicateHandle to achieve
that at which point you can close the new handle whenever you are done with
it.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: File close event? by Strickland

Strickland
Thu Aug 25 20:34:18 CDT 2005

Thank you, Steve
I hooked CreateFile in filesys.exe,
You means I need duplicate the file handle to monitor the handle state?

-
Strickland


Re: File close event? by Steve

Steve
Thu Aug 25 20:37:43 CDT 2005

What!? You need to provide details of what you've done before we can give
you any meaningful answers.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com