dlls/riched20/string.c
/* Create a buffer (uninitialized string) of size nMaxChars */
Create a buffer (uninitialized string) of size nMaxChars
Create a buffer ( uninitialized string ) of size nMaxChars
static ME_String *ME_MakeStringB(int nMaxChars)
{
  ME_String *s = ALLOC_OBJ(ME_String);
  s->nLen = nMaxChars;
  s->nBuffer = ME_GetOptimalBuffer(s->nLen + 1);
  s->szData = ALLOC_N_OBJ(WCHAR, s->nBuffer);
  s->szData[s->nLen] = 0;
  return s;
}
static ME_String * ME_MakeStringB ( int nMaxChars ) { ME_String * s = ALLOC_OBJ ( ME_String ) ; s -> nLen = nMaxChars ; s -> nBuffer = ME_GetOptimalBuffer ( s -> nLen + 1 ) ; s -> szData = ALLOC_N_OBJ ( WCHAR , s -> nBuffer ) ; s -> szData [ s -> nLen ] = 0 ; return s ; }
Create a buffer (uninitialized string) of size nMaxChars
Create a buffer ( uninitialized string ) of size nMaxChars