My name is Nimesh and I am completely new to writing Device Drivers. I have already installed WDDK and was trying to install the AVStream driver sample. After installation the name of the driver is displaying as “avshws Source” when I add it in the GraphEdit. Now the problem is I want to rename the driver. But I am not being able to find this string in the entire source code.
Anybody please suggest me how can I change this name…
You will need to remove the capture filter in Device Manager and re-install
for the new name to take effect.
Phil
wrote in message news:xxxxx@ntdev… > Hi All, > > My name is Nimesh and I am completely new to writing Device > Drivers. I have already installed WDDK and was trying to install the > AVStream driver sample. After installation the name of the driver is > displaying as “avshws Source” when I add it in the GraphEdit. Now the > problem is I want to rename the driver. But I am not being able to find > this string in the entire source code. > > Anybody please suggest me how can I change this name… > > > Thanks in advance! >
My name is Nimesh and I am completely new to writing Device Drivers. I have already installed WDDK and was trying to install the AVStream driver sample. After installation the name of the driver is displaying as “avshws Source” when I add it in the GraphEdit. Now the problem is I want to rename the driver. But I am not being able to find this string in the entire source code.
Really? How did you look? Try:
findstr /s /c:“avshws Source” *
Huge hint: device naming conventions are often specified in the INF,
not in the code.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hi Phil…
Thanks for your suggestion. I tried it and its working…But the problem is that I need to change the name in the code itself s.t. after build the new name will be automatically updated in the .inf file. I have come to know that we need to change some GUID in the code. But don’t know what & how???
Do you have any idea how to convert a string to GUID and vice versa???
Hmmm, how about searching for “string GUID” in the WDK? The answer you want is in the Local Help results of the search
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@sasken.com
Sent: Monday, September 15, 2008 9:03 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to Rename an AVStream Driver???
Hi Phil…
Thanks for your suggestion. I tried it and its working…But the problem is that I need to change the name in the code itself s.t. after build the new name will be automatically updated in the .inf file. I have come to know that we need to change some GUID in the code. But don’t know what & how???
Do you have any idea how to convert a string to GUID and vice versa???