how to read file in 9x before loading any services?

Hello!

How to read file during boot time before loading any services in 9x?

I’m use IFSMgr_Ring0_FileIO to read file in the OnSysDynamicDeviceInit.

should I use DEVICE_INIT event and one of predefined XXX_INIT_ORDER constant
(what’s constant? FSD_Init_Order or smth else?) to be loaded in a good time?

Is it necessary that IFSMgr should be loaded to use IFSMgr_Ring0_FileIO?
My OnSysDynamicDeviceInit code hang up system if I call it on DEVICE_INIT
event:

BEGIN_CONTROL_DISPATCH_MAP (EFS)

DEVICE_INIT, OnSysDynamicDeviceInit,
SYS_DYNAMIC_DEVICE_INIT, OnSysDynamicDeviceInit,
SYS_DYNAMIC_DEVICE_EXIT, OnSysDynamicDeviceExit,
W32_DEVICEIOCONTROL, W32_DeviceIoControl

END_CONTROL_DISPATCH_MAP()

BOOL __stdcall OnSysDynamicDeviceInit(DECLARE_PREGS)
{
need to read file here

do hook by IFSMgr_InstallFileSystemApiHook
}

thanks for any help,
Valery


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com