Hi, I want to write a user mode app that would somehow call the
IRP_MN_START_DEVICE routine of my driver (Storage Port driver). Does
anyone know how I can directly do that? I know that there is an indirect
way of using devcon.exe which uses SetupDi calls to install devices, but
that would first call AddDevice and then call IRP_MN_START_DEVICE. I want
someway of bypassing the AddDevice routine and just want to test whether
starting and stopping the device would work properly or not.
Thanks,
Satyeshwar
See Devcon Enable, Devcon Disable, and DevCon Restart.
=====================
Mark Roddy
Hollis Technology Solutions
www.hollistech.com
xxxxx@hollistech.com
-----Original Message-----
From: Satyeshwar Singh [mailto:xxxxx@hotmail.com]
Sent: Tuesday, July 15, 2003 2:13 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] Calling IRP_MN_START_DEVICE from user mode?
Hi, I want to write a user mode app that would somehow call the
IRP_MN_START_DEVICE routine of my driver (Storage Port driver). Does anyone
know how I can directly do that? I know that there is an indirect way of
using devcon.exe which uses SetupDi calls to install devices, but that would
first call AddDevice and then call IRP_MN_START_DEVICE. I want someway of
bypassing the AddDevice routine and just want to test whether starting and
stopping the device would work properly or not.
Thanks,
Satyeshwar
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com