diff --git a/sdk/lib/atl/atlsimpstr.h b/sdk/lib/atl/atlsimpstr.h index 2b571a299e074..ce0286602b4e4 100644 --- a/sdk/lib/atl/atlsimpstr.h +++ b/sdk/lib/atl/atlsimpstr.h @@ -373,6 +373,11 @@ class CSimpleStringT return m_pszData; } + void Preallocate(_In_ int nLength) + { + PrepareWrite(nLength); + } + void ReleaseBufferSetLength(_In_ int nNewLength) { ATLASSERT(nNewLength >= 0);