Hi All
Does anybody have any idea of callbacks registered with
IoRegisterPlugPlayNotification are called in context of which thread.
Is it System thread or any arbitrary thread?
Cheers
Deepak
Hi All
Does anybody have any idea of callbacks registered with
IoRegisterPlugPlayNotification are called in context of which thread.
Is it System thread or any arbitrary thread?
Cheers
Deepak
It can be either. What is you underlying question/problem?
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
From: Deepak Gupta
Sent: Thursday, December 04, 2008 9:41 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Callback reigstered with IoRegisterPlugPlayNotification called in which thread context?
Hi All
Does anybody have any idea of callbacks registered with IoRegisterPlugPlayNotification are called in context of which thread.
Is it System thread or any arbitrary thread?
Cheers
Deepak
— 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
I had a callack registerd for an interface.
In the callback I am calling IoGetDeviceObjectPointer which according to
MSDN should be called in context of system thread.
So I was thinking if the callback is already into system then why issuing a
call to change the context.
Cheers
Deepak
On Thu, Dec 4, 2008 at 11:18 PM, Doron Holan wrote:
> It can be either. What is you underlying question/problem?
>
> d
>
> Sent from my phone with no t9, all spilling mistakes are not intentional.
>
> ------------------------------
> From: Deepak Gupta
> Sent: Thursday, December 04, 2008 9:41 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Callback reigstered with IoRegisterPlugPlayNotification
> called in which thread context?
>
> Hi All
>
> Does anybody have any idea of callbacks registered with
> IoRegisterPlugPlayNotification are called in context of which thread.
>
> Is it System thread or any arbitrary thread?
>
> Cheers
> Deepak
> — 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
>
> —
> 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
>
>IoGetDeviceObjectPointer which according to MSDN should be called in
context of system thread.
Pretty funny, I had never noticed that restriction before. It appears to be
a leftover from the NT4/Win2K days where the ZwCreateFile call that
IoGetDeviceObjectPointer makes didn’t specify OBJ_KERNEL_HANDLE.
-scott
–
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
“Deepak Gupta” wrote in message news:xxxxx@ntdev…
I had a callack registerd for an interface.
In the callback I am calling IoGetDeviceObjectPointer which according to
MSDN should be called in context of system thread.
So I was thinking if the callback is already into system then why issuing a
call to change the context.
Cheers
Deepak
On Thu, Dec 4, 2008 at 11:18 PM, Doron Holan
wrote:
It can be either. What is you underlying question/problem?
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
From: Deepak Gupta
Sent: Thursday, December 04, 2008 9:41 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Callback reigstered with IoRegisterPlugPlayNotification
called in which thread context?
Hi All
Does anybody have any idea of callbacks registered with
IoRegisterPlugPlayNotification are called in context of which thread.
Is it System thread or any arbitrary thread?
Cheers
Deepak
— 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
—
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