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 [ATL] Rename CHeapPtr data member, since it is public 2020-02-08 22:09:14 +01:00
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 [ATL] Add OBJECT_ENTRY_AUTO for simpler com object registration 2023-04-22 21:23:55 +02:00
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 [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
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 [ATL] Add atlsync.h (#4382) 2022-03-07 11:02:42 +09:00
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 [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
cstringt.h [ATL] s/throw()/noexcept/ (#5799) 2023-10-16 15:40:17 +09:00
statreg.h [CMAKE] Define _DEBUG for better ATL debugging (Retry) (#3519) 2021-03-10 22:59:13 +09:00