cpp TDesC.AllocLC is a function in the C++ programming language that creates a new descriptor object of type TDesC on the heap and returns a pointer to it. The function also pushes the pointer onto the cleanup stack, ensuring that the object is deallocated even in the case of a leave occurring later in the code. This function is often used when dynamically allocating memory for a descriptor and is useful in situations where the lifetime of the descriptor extends beyond the current scope.
C++ (Cpp) TDesC::AllocLC - 28 examples found. These are the top rated real world C++ (Cpp) examples of TDesC::AllocLC extracted from open source projects. You can rate examples to help us improve the quality of examples.