You could use the value “SystemPartition” stored in
HKEY_LOCAL_MACHINE\SYSTEM\Setup to build the full path
\Device\HarddiskVolume2\Windows\System32\abc.txt
s,
Fernando Roberto da Silva
DriverEntry Kernel Development
http://www.driverentry.com.br
-----Mensagem original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] Em nome de
xxxxx@yahoo.com
Enviada em: quinta-feira, 23 de agosto de 2007 09:55
Para: Windows System Software Devs Interest List
Assunto: RE:[ntdev] Problem with opening file in system32.
I found that \SystemRoot this is not availble in namespace when my boot
start drivr try to open file so the status code
STATUS_OBJECT_PATH_NOT_FOUND. Bot you can use it afterword. eg. I have
used it in shutdown notification.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer