The CE.NET documentation defines the FSNOTIFY_POWER_OFF flag for
MyFSD_Notify:
Indicates that the device is entering a suspended state. No system calls can
be made at this point, and the file system manager calls the application on
a single thread.

I would like to perform a flush when my FSD receives this notification. Can
FSDMGR_WriteDisk and DeviceIoControl(IOCTL_DISK_DELETE_SECTORS) be called
when I receive this power down notification, or do those calls classify as
"system calls" in the documentation excerpt above?

Thanks,
Jeremy

Re: Power off notification by Steve

Steve
Mon Feb 09 17:20:58 CST 2004

Yes those are system calls. You cannot perform a flush that late in the
power down sequence.

--
Steve Maillet (eMVP)
Entelechy Consulting
smaillet_AT_EntelechyConsulting_DOT_com



Re: Power off notification by Jeremy

Jeremy
Mon Feb 09 18:06:13 CST 2004

Is there a different notification, sent during the power down sequence, that
I can listen for and flush on?

Jeremy

"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:OubfWN27DHA.1504@TK2MSFTNGP12.phx.gbl...
> Yes those are system calls. You cannot perform a flush that late in the
> power down sequence.
>
> --
> Steve Maillet (eMVP)
> Entelechy Consulting
> smaillet_AT_EntelechyConsulting_DOT_com
>
>