[wdmaudiodev] Re: AW: How to concatenate a number to PWCHAR string which is used byInstallSubDevice()

  • From: "Eshanye.K.P" <esha@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 21 Apr 2004 18:23:45 +0530

Are these available in the kernel so that i can use in my audio driver ? (I
doubt..)
Esha

wdm wrote:

> How about wcscpy & wcscat?
>
> Tobias
>
> > -----Ursprüngliche Nachricht-----
> > Von: Eshanye.K.P [mailto:esha@xxxxxxxxxxx]
> > Gesendet: Mittwoch, 21. April 2004 12:06
> > An: wdmaudiodev@xxxxxxxxxxxxx
> > Betreff: [wdmaudiodev] How to concatenate a number to PWCHAR string
> > which is used byInstallSubDevice()
> >
> >
> > Hi,
> >
> > I want to concatenate a number to a PWCHAR string. Like Wave1, Wave2
> > etc.
> > The string available for me is an initialized PWCHAR. What is the
> > function in kernel, I can use to concatenate a number to this PWCHAR ?
> > If such a function is not available then, is there any way I can
> > implement this. I have to pass a PWCHAR to the function
> > InstallSubdevice() which has PWCHAR Name as one of the parameters.
> > Currently, I'm doing like :-
> >
> > PWCHAR tecmpstr = L"Wave1";
> > InstallSubdevice(....,...., tempstr,....);
> >
> > But the tempstr keeps changing depending on some index which should be
> > concatenated with the name. There are no functions in ddk to
> > convert an
> > integer to wide character also to concatenate wide
> > characters. How do I
> > achieve  this ?
> >
> > Regards
> > Esha
> >
> > ******************
> >
> > WDMAUDIODEV addresses:
> > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> > Subscribe:
> > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> > Unsubscribe:
> > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> > Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> >
> > URL to WDMAUDIODEV page:
> > http://www.wdmaudiodev.de/
> >
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.de/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: