Pause/Stop a driver

Posted: 10-29-2003, 09:17 PM
Hi,
Under XP, I am using an vedio capture application DScaler which has its own
driver
component. The problem with this is that some function of this application
is conflicting with the original driver for the capture device(Conexant
Cx23880). Original Conexant driver is periodically mute the sound.

Question:
How can I disable(or pause) the original capture device driver in the
beginning of the DScaler application and reenable(or continue) the original
driver before exit my application?

I tried to use SERVICE_CONTROL_PAUSE and SERVICE_CONTROL_STOP option in
ControlService() for the driver service CX23880. It returns the error code
of 0x41c. Using SC.exe with "SC.exe stop CX23880" will return "[SC] control
service failed 1052, the requested control is not valid for the service".

Any other ways to do it?

thanks,

Victor Lai
email: victorl@aaeon.com




Reply With Quote

Responses to "Pause/Stop a driver"

Dumbur
Guest
Posts: n/a
 
Re: Pause/Stop a driver
Posted: 11-18-2003, 08:43 AM
Same here, how do you restart a driver, where is the old good NT
Device icon in the Controlpanel where you could stop and start the
devices.??


On Wed, 29 Oct 2003 17:17:33 -0500, "Victor Lai" <victorl@aaeon.com>
wrote:
>Hi,
>Under XP, I am using an vedio capture application DScaler which has its own
>driver
>component. The problem with this is that some function of this application
>is conflicting with the original driver for the capture device(Conexant
>Cx23880). Original Conexant driver is periodically mute the sound.
>
>Question:
>How can I disable(or pause) the original capture device driver in the
>beginning of the DScaler application and reenable(or continue) the original
>driver before exit my application?
>
>I tried to use SERVICE_CONTROL_PAUSE and SERVICE_CONTROL_STOP option in
>ControlService() for the driver service CX23880. It returns the error code
>of 0x41c. Using SC.exe with "SC.exe stop CX23880" will return "[SC] control
>service failed 1052, the requested control is not valid for the service".
>
>Any other ways to do it?
>
>thanks,
>
>Victor Lai
>email: victorl@aaeon.com
>
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
STOP 0x0000001D or STOP 0x000000A Stop Error Occurs in Ndis.sys Eric Poelma Windows XP Device Drivers 1 09-21-2003 09:18 AM
stop error/corrupt driver lou Windows XP Device Drivers 1 08-15-2003 01:20 PM
pause in dial up Terry FORBES Windows XP Hardware 7 07-12-2003 12:47 PM
STOP 0x000000cb: DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS with afd.sys driver Maggard Windows XP Performance & Maintenance 0 06-30-2003 05:45 PM