Use TDes for interfaces which take narrow or wide (Unicode) text, depending on the build variant.
An interface which needs to access and modify either narrow text or wide (Unicode) text, depending on the build variant, uses a TDes as the argument type. All build independent concrete descriptors are derived from TDes which means that the interface can accept any build independent descriptor.
The following code fragment shows the most common function prototype pattern.
The use of TDes means that data can be accessed and modified through the descriptor.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.