Author: kruglinskikruglinski Date: Mar 28, 2008 01:16
On 3月11日, 上午10时28分, henry gmail.com> wrote:
> Hi all,
>
> I want to load a filter driver during run time ( which is after
> installation ) for the convenience not getting restart. I use
> LoadLibrary API to load my driver and getting a non NULL handle back.
> My question #1 Is it OK to use LoadLibrary() to load a Driver. #2 Is
> my DriverEntry() will be called. For some reason my Windbg() can not
> catch any event when I intentionally del my sys file in windows
> directory for not loading it at boot time. But when I run my test app
> to loadLrary() it return a non NULL handle but I can't break code at
> my DriverEntry().
>
> Thanks,
>
> -henry
you can use the Native Function ZwLoadDriver instead
|