Saturday, August 02, 2008

How to make a descriptor parameter read-only?

Pass it as a constant reference to a non-modifiable descriptor (const TDesC&). For example:

void SomeFunction(const TDesC& aReadOnlyDescriptor);


further reading http://descriptors.blogspot.com/

No comments:

stats counter