Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 15th, 2007, 03:27 AM
Authorized User
 
Join Date: Jan 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to arun.sharma.kumar
Default Modify Attributes of ASF files

Im trying to modify attribute of an mp3 file....
everything goes fine but the modifyattribute is creating problem...!!!!

        hr = (HRESULT)pHeaderInfo3->ModifyAttribute( wStreamNum,
                                            wAttribIndex,
                                            AttribDataType,
                                            wLangIndex,
                                            pbAttribValue,
                                            dwAttribValueLen );

The return value is a negetive no.. after getlasterror() function the lresult contains 122 code
what does it mean...

below is the list of the values passed to modify...
wStreamNum = 0
wAttribIndex = 22 //got from getattributebyindex
AttribDataType = 1
wLangIndex = 1
pbAttribValue = "tera naam"
dwAttribValueLen = 20


Arun Kumar.
Size the day put no efforts on the morrow!
__________________
Arun Kumar.
Size the day put no efforts on the morrow!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify XSLT mikeymikey XSLT 4 January 5th, 2008 11:21 PM
Images in asf files arun.sharma.kumar Visual C++ 0 February 14th, 2007 06:22 AM
How to modify "for-each" to "last occurrence of" ? nyctechwriter XSLT 3 October 30th, 2006 01:15 PM
How to modify hidden value? Edward King Javascript 2 January 21st, 2006 05:44 AM
compare two xml files attributes, elements k_s_ashok XML 1 June 9th, 2004 02:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.