[wdmaudiodev] How to concatenate a number to PWCHAR string which is used by InstallSubDevice()

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

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/

Other related posts:

  • » [wdmaudiodev] How to concatenate a number to PWCHAR string which is used by InstallSubDevice()