reactos/sdk/lib/atl
Vitaly Orekhov c30b284373
[ATL] Implement CSimpleStringT::Preallocate (#6574)
Used in `ATL::CStringW` and `ATL::CStringA`, for example:

```
ATL::CStringW cswItemText = "";
cswItemText.Preallocate(64);

SendDlgItemMessageW(pdis->CtlID, LB_GETTEXT, pdis->itemID, reinterpret_cast<LPARAM>(cswItemText.GetBuffer()));
cswItemText.ReleaseBuffer();
```

This public function is used to allocate memory for the string via private PrepareWrite, but it's missing somehow. Now it shouldn't be.
2024-03-05 11:42:27 +03:00
..
atlalloc.h
atlbase.h
atlcoll.h
atlcom.h
atlcomcli.h
atlconv.h
atlcore.h
atldef.h
atlexcept.h
atlfile.h
atlimage.h
atlmem.h
atlpath.h
atlsimpcoll.h
atlsimpstr.h [ATL] Implement CSimpleStringT::Preallocate (#6574) 2024-03-05 11:42:27 +03:00
atlstr.h
atlsync.h
atltime.h
atltrace.h
atltypes.h
atlwin.h
CMakeLists.txt
cstringt.h
statreg.h