stringBufferSize top-level constant

int const stringBufferSize

Size used for Win32 string allocations.

A common pattern for Win32 string calls is to provide a buffer larger than the expected return value, along with an out parameter to be filled in with the actual size of the string returned. This constant is used to set a consistent value that is expected to be large enough to accommodate the return results.

Implementation

const stringBufferSize = 256;