Hi

There is a way to queue a APC from a NT driver to be handled by a user level
process (like vxds can do with _VWIN32_QueueUserApc...)

Thank you

--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br

Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by nospam

nospam
Mon Jun 21 17:40:27 CDT 2004

KeInitializeApc
KeInsertQueueApc


"Leandro Becker" <spamfromhell@gotohell.com> wrote in message
news:unq0M59VEHA.1012@TK2MSFTNGP09.phx.gbl...
> Hi
>
> There is a way to queue a APC from a NT driver to be handled by a user
> level
> process (like vxds can do with _VWIN32_QueueUserApc...)
>
> Thank you
>
> --
> Leandro Gustavo Biss Becker
> eSystech Embedded Systems Technologies
> +55(41)3029-2960
> http://www.esystech.com.br
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Maxim

Maxim
Mon Jun 21 17:54:41 CDT 2004

> KeInitializeApc
> KeInsertQueueApc

Note: this will require the kernel memory to be allocated for the KAPC
structure, and the memory must be properly freed in all paths.

I think it is a better idea to pend the IRP in the kernel module, and complete
it when it will be needed.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Leandro

Leandro
Tue Jun 22 08:48:36 CDT 2004

There is no help topic about these functions on the 2k3, XP DDK help file !

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:eNjf$I%23VEHA.3512@TK2MSFTNGP12.phx.gbl...
> > KeInitializeApc
> > KeInsertQueueApc
>
> Note: this will require the kernel memory to be allocated for the KAPC
> structure, and the memory must be properly freed in all paths.
>
> I think it is a better idea to pend the IRP in the kernel module, and
complete
> it when it will be needed.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Maxim

Maxim
Tue Jun 22 09:03:03 CDT 2004

They are not documented.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Leandro Becker" <spamfromhell@gotohell.com> wrote in message
news:uv3D68FWEHA.4092@TK2MSFTNGP11.phx.gbl...
> There is no help topic about these functions on the 2k3, XP DDK help file !
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:eNjf$I%23VEHA.3512@TK2MSFTNGP12.phx.gbl...
> > > KeInitializeApc
> > > KeInsertQueueApc
> >
> > Note: this will require the kernel memory to be allocated for the KAPC
> > structure, and the memory must be properly freed in all paths.
> >
> > I think it is a better idea to pend the IRP in the kernel module, and
> complete
> > it when it will be needed.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> > http://www.storagecraft.com
> >
> >
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Gary

Gary
Tue Jun 22 09:52:46 CDT 2004

Those are either part of the IFS, or undocumented commands.

--
Gary G. Little
Seagate Technologies, LLC

<nospam@cristalink.com> wrote in message
news:uyZsCD%23VEHA.2340@TK2MSFTNGP09.phx.gbl...
> KeInitializeApc
> KeInsertQueueApc
>
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:unq0M59VEHA.1012@TK2MSFTNGP09.phx.gbl...
> > Hi
> >
> > There is a way to queue a APC from a NT driver to be handled by a user
> > level
> > process (like vxds can do with _VWIN32_QueueUserApc...)
> >
> > Thank you
> >
> > --
> > Leandro Gustavo Biss Becker
> > eSystech Embedded Systems Technologies
> > +55(41)3029-2960
> > http://www.esystech.com.br
> >
> >
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Gary

Gary
Tue Jun 22 09:54:12 CDT 2004

Which means you ain't supposed to be using them. If you do, and they change
in the next release or service pack ... to bad.

--
Gary G. Little
Seagate Technologies, LLC

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:u95ClEGWEHA.2908@TK2MSFTNGP10.phx.gbl...
> They are not documented.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:uv3D68FWEHA.4092@TK2MSFTNGP11.phx.gbl...
> > There is no help topic about these functions on the 2k3, XP DDK help
file !
> >
> > "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> > news:eNjf$I%23VEHA.3512@TK2MSFTNGP12.phx.gbl...
> > > > KeInitializeApc
> > > > KeInsertQueueApc
> > >
> > > Note: this will require the kernel memory to be allocated for the KAPC
> > > structure, and the memory must be properly freed in all paths.
> > >
> > > I think it is a better idea to pend the IRP in the kernel module, and
> > complete
> > > it when it will be needed.
> > >
> > > --
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > maxim@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > >
> >
> >
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Leandro

Leandro
Tue Jun 22 10:04:30 CDT 2004

I will give up using APC. I will use kernel events (already using) to notify
a user mode app.

Thanks for all that have contributed !

Leandro

"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:2JXBc.7955$mY1.5974@newssvr24.news.prodigy.com...
> Those are either part of the IFS, or undocumented commands.
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> <nospam@cristalink.com> wrote in message
> news:uyZsCD%23VEHA.2340@TK2MSFTNGP09.phx.gbl...
> > KeInitializeApc
> > KeInsertQueueApc
> >
> >
> > "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> > news:unq0M59VEHA.1012@TK2MSFTNGP09.phx.gbl...
> > > Hi
> > >
> > > There is a way to queue a APC from a NT driver to be handled by a user
> > > level
> > > process (like vxds can do with _VWIN32_QueueUserApc...)
> > >
> > > Thank you
> > >
> > > --
> > > Leandro Gustavo Biss Becker
> > > eSystech Embedded Systems Technologies
> > > +55(41)3029-2960
> > > http://www.esystech.com.br
> > >
> > >
> >
> >
>
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Don

Don
Tue Jun 22 10:25:14 CDT 2004

If you are going to be changing things (which your question certaining
indicated) then why don't you take Max's suggestion of use an IRP and pend
it till the event. This is cleaner and simpler (and therefore can be safer)
than using an event.

--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

"Leandro Becker" <spamfromhell@gotohell.com> wrote in message
news:ex$lUnGWEHA.208@TK2MSFTNGP10.phx.gbl...
> I will give up using APC. I will use kernel events (already using) to
notify
> a user mode app.
>
> Thanks for all that have contributed !
>
> Leandro
>



Re: There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc) by Calvin

Calvin
Tue Jun 22 13:05:27 CDT 2004

Sometimes shared event is the only option since not every kind of driver has
a dispatch routine nor has access to IRP such as the stupid video miniport
driver.

Calvin
-
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

"Don Burn" <burn@stopspam.acm.org> wrote in message
news:10dgjrdqsn3ncb5@corp.supernews.com...
> If you are going to be changing things (which your question certaining
> indicated) then why don't you take Max's suggestion of use an IRP and pend
> it till the event. This is cleaner and simpler (and therefore can be
safer)
> than using an event.
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:ex$lUnGWEHA.208@TK2MSFTNGP10.phx.gbl...
> > I will give up using APC. I will use kernel events (already using) to
> notify
> > a user mode app.
> >
> > Thanks for all that have contributed !
> >
> > Leandro
> >
>
>