TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Device Drivers

Notices

Programmatically Installing Ndis IM Driver

Microsoft Device Drivers


Reply
 
Thread Tools Display Modes
Old 13-03-2009, 11:19 AM   #1
Newbie
 
Join Date: Mar 2009
Location: jiangyin,jiangsu,china
Age: 31
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 denny_zhai is an unknown quantity at this point


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista


Send a message via MSN to denny_zhai
Question Programmatically Installing Ndis IM Driver

Hi,

I'm trying to install NDIS IM Driver automatically.And I pasted codes from bindview like these. It seems work well.
//________________________________

hr = GetPnpID( lpszInfFile, &lpszPnpID );

if ( hr == S_OK ) {

hr = InstallSpecifiedComponent( lpszInfFile,
lpszPnpID,
&GUID_DEVCLASS_NETSERVICE );

CoTaskMemFree( lpszPnpID );
}

//_________________________________

also I set the NCF_HIDDEN flag in the netsf.inf . but It doesn't work. It still appear in local connection dialogbox.

if I install it manully,it's ok. I don't why.

additional how to built the bindview using the microsoft visual studio 6.0?
I want to know bindview how to work.

any hep I'will appreciate.
Thkx.
denny_zhai is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 03:33 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional