Resource allocation

hello all,
i would like to know if i can be granted resource
for i/o ports that
might have been allocated to some other driver.
i am writing a driver for NT 4.0. I was trying to
use second channel of
the timer on an IBM pc. i am using IoAssignResources()
to assign this
resource to my driver, with
IO_RESOURCE_DESCRIPTOR[i].ShareDisposition =
CmResourceShareShared and
CmResourceShareDeviceExclusive have been tried.
what entry does a driver make in the resourcemap
entry in the registry ?
can i directly manipulate it to access hardware
resource assigned to
some other driver?

thanks


Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

If the resources are shareable yes, and that depends oh who gets them first
and if they share them. If you control the resources then make sure they are
shareable.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“yog bute” wrote in message news:xxxxx@ntdev…
>
> hello all,
> i would like to know if i can be granted resource
> for i/o ports that
> might have been allocated to some other driver.
> i am writing a driver for NT 4.0. I was trying to
> use second channel of
> the timer on an IBM pc. i am using IoAssignResources()
> to assign this
> resource to my driver, with
> IO_RESOURCE_DESCRIPTOR[i].ShareDisposition =
> CmResourceShareShared and
> CmResourceShareDeviceExclusive have been tried.
> what entry does a driver make in the resourcemap
> entry in the registry ?
> can i directly manipulate it to access hardware
> resource assigned to
> some other driver?
>
> thanks
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
>