How to Rename an AVStream Driver????

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!

Check the avshws.inf file for the line:

avshws.Reader.FriendlyName=“avshws Source”

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!
>

xxxxx@sasken.com wrote:

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.

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…

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???


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