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 [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlcoll.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlcom.h
atlcomcli.h [ATL] Added CComPtr.CoCreateInstance helper methods (#5905) 2023-11-13 11:03:05 +01:00
atlconv.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlcore.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atldef.h
atlexcept.h
atlfile.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlimage.h [ATL] CImage: Follow-up to #5702 (5da3ed6) 2023-09-20 00:04:45 +09:00
atlmem.h
atlpath.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlsimpcoll.h
atlsimpstr.h [ATL] Implement CSimpleStringT::Preallocate (#6574) 2024-03-05 11:42:27 +03:00
atlstr.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atlsync.h
atltime.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
atltrace.h [CRT][MSVCRT] Implement _CrtDbgReport(W)V and redefine _CrtDbgReport(W) around those (#5678) 2023-11-14 12:23:51 +01:00
atltypes.h [ATL][ATL_APITEST] Add some missing CRect methods (#5800) 2023-10-16 21:57:57 +09:00
atlwin.h [ATL][ATL_APITEST] Independent ReactOS ATL (RATL) support (#5657) 2023-09-20 12:02:33 +09:00
CMakeLists.txt
cstringt.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
statreg.h